Complete.Org: Mailing Lists: Archives: linux-help: August 2002:
[linux-help] Re: A c problem
Home

[linux-help] Re: A c problem

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: linux-help@xxxxxxxxx
Subject: [linux-help] Re: A c problem
From: bruce <bbales@xxxxxxx>
Date: Mon, 5 Aug 2002 16:16:09 -0500
Reply-to: linux-help@xxxxxxxxx

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


[Prev in Thread] Current Thread [Next in Thread]