Trying to learn C on the gcc compiler

Nathan Sidwell nathan@codesourcery.com
Mon Jun 5 06:50:00 GMT 2000


Kelly Schauf wrote:
> 

> The error that I get is "undefined reference to sqrt".
	gcc .... -lm
Please note, this is not the right list for general C questions,
try one of the news groups or, http://www.eskimo.com/~scs/C-faq/top.html ,
which I believe answers this question too.

nathan

-- 
Dr Nathan Sidwell   ::   http://www.codesourcery.com   ::   CodeSourcery LLC
         'But that's a lie.' - 'Yes it is. What's your point?'
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org


More information about the Gcc mailing list