This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Trying to learn C on the gcc compiler
- To: Kelly Schauf <k3jsch at mail dot gmtcom dot com>
- Subject: Re: Trying to learn C on the gcc compiler
- From: Nathan Sidwell <nathan at codesourcery dot com>
- Date: Mon, 05 Jun 2000 14:50:42 +0100
- CC: gcc at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <Pine.BSF.4.10.10006050834100.31732-100000@aurora.gmtcom.com>
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