[linux-help] Re: A c problem
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Monday 05 August 2002 03:33 pm, you wrote:
> You need to add -lm to the command line. That will tell gcc to link to
> the math library.
Hey, that works! But if I may look ahead a bit, what if I need to add
ctypes.h or string.h? I went back through the man page and found -llib used,
but no reference to -lm. -lmath.h doesn't work.
Or does -lm add all of the standard headers?
My question is answered, but I'm still a bit confused.
Thanks,
bruce
-- This is the linux-help@xxxxxxxxx list. To unsubscribe,
visit http://www.complete.org/cgi-bin/listargate-aclug.cgi
|
|