lua-users home
lua-l archive

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


> 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?