GPM 1.20.1 problems
billyoc at linuxfromscratch.org
Tue Jan 21 14:45:57 PST 2003
Billy O'Connor <billyoc at linuxfromscratch.org> writes:
> gschafer at zip.com.au (Greg Schafer) writes:
>>> > Only happens with -Os
>>> Bingo, sure does. Now what, is exporting LDFLAGS="-lm" good enough?
>> I dunno. You're the programmer around here so you go figure it out :-)
> ROFL! I did! I emailed the maintainer with the patch to
> configure.in. ;)
>> Common sense tells me that if a program includes math.h then it should link
>> against -lm. But there may be reasons why that is not true.
>> But I don't understand why it works when not compiled with -Os. I just
>> discovered it fails when compiling with no optimisation at all (-O0) so
>> maybe the ceil rounding function gets optimized away by the compiler or
> Yeah, time for gcc-bugs, I guess.
> I hate going there.
No, wait, this has nothing to do with gcc, the configure.in file
needs -lm, that's all. We can use the export command until they put
up a new tarball.
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-dev' in the subject header of the message
More information about the blfs-dev