Mail Archives: djgpp/1994/08/09/22:25:24
> I'm having some odd problems with djgpp. I'm trynig to compile a program
> that compiles successfully with Borland C. But when I try to compile it
> with djgpp I get "undefined reference to atan, acos, fabs, pow10, etc..."
> errors. I've tried the -lm option, and my LIBRARY_PATH variable points
> to libm.a, but no matter what I try I get the same error.
Just a guess: is the -lm option in the right place in the gcc command line?
It should be at the end.
- Raw text -