[prog] using a -ln option with GCC when compiling c code with math.h

Guru - haunter03 at hotmail.com
Mon Jun 23 17:25:01 EST 2003


Hi.
I'm just wondering (this problem caused me a lot of trouble during Uni until 
I figured it out),
why is it necessary to use the -ln flag with GCC when compiling something 
that uses math.h?
(this problem forced me to go back to Borland C until I figured it out).

Thanks

_________________________________________________________________
Hotmail is now available on Australian mobile phones. Go to  
http://ninemsn.com.au/mobilecentral/signup.asp



More information about the Programming mailing list