lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On 03/01/15 04:04 PM, Luiz Henrique de Figueiredo wrote:
Sonis-iPod:~/builds/lua-5.3.0 root# make posix
gcc -std=c99 -o lua   lua.o liblua.a -lm
ld: library not found for -lm
This is the first time I see this error in over 25 years of using C compilers.
Until now, every C compiler in a *nix system either required -lm or did
not complain about it. (For instance, -lm is not needed in Mac OS X.)

Does "make posix LIBS=" work?

It worked! Thanks!

Disclaimer: these emails are public and can be accessed from <TODO: get a non-DHCP IP and put it here>. If you do not agree with this, DO NOT REPLY.