Hi!
In the INSTALL file, line 159,
CFLAGS="-O -m486" LFLAGS="-s" LIBS="-lrubbish"
LD="/usr/foo/ld" ./configure
"LFLAGS" are mentioned. Probably "LDFLAGS" are meant. The
LFLAGS is
also used at one place in "configure", please check configure.in:997,
I also assume the LDFLAGS was meant, as used correctly in other locations.
There is another "confusion", as ./configure --help allows to use
--with-cflags and --with-ldlags (here ldflags with "f" was meant).
I have tried and you can use both "CFLAGS" as well as --with-cflags
to specify the special compiler flags. However, when using --with-cflags
configure assumes that no CFLAGS was set, so "-g" is used by default.
When specifying CFLAGS, only the CFLAGS specified are applied.
(I don't have an opinion on whether this is good or bad, I just found out,
that --with-cflags is not the same as "CFLAGS=... ./configure" :-)
Best regards,
Lutz
--
Lutz Jaenicke Lutz.Jaenicke at aet.TU-Cottbus.DE
BTU Cottbus http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus Fax. +49 355 69-4153