can't find libm
I'm trying to compile this on Haiku: http://code.google.com/p/jacl/
The "normal" version is using ncursesw so I don't think I can compile it easily, but there is a simpler version (called cjacl), which can compile, but when linking it says:
/boot/common/lib/gcc/i586-pc-haiku/4.3.4/../../../../i586-pc-haiku/bin/ld: cannot find -lm
collect2: ld returned 1 exit status
I'm using gcc4 because the gcc2 can't compile.
Before running make, I did alias gcc='/boot/develop/abi/x86/gcc4/tools/gcc-4.3.3-haiku-100425/bin/gcc'
it seems lm is for libm, which should be in the glibc