On Wed, Oct 23, 2002 at 10:36:05AM +1000, Peter Rundle wrote:

> I vaguely recall that there is a switch for the compiler that links
> in the maths library but I'm buggered if I can find it via man gcc.

-lm

-lx means link with libx.so or libx.a.  libm is the maths libray.


Cheers,

John
-- 
whois [EMAIL PROTECTED]
GPG key id: 0xD59C360F
http://kirriwa.net/john/
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to