Re: [ILUG] Very basic C question

From: Padraig Brady (padraig at domain antefacto.com)
Date: Thu 30 May 2002 - 17:19:38 IST


Mairtin O Sullivan wrote:

>Surprisingly enough that would probably be the answer...
>
>Thought I'd gone through all the man pages but obviously not!
>
>Really appreciate it.. Thanks.
>

FYI (and others :-)):
(as you non know) gcc doesn't link the math lib by default,
so you have to tell it to by adding the -lm option. More info here:
http://www.cae.wisc.edu/~gerdts/how_gcc_works.html

Padraig.



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:17:02 GMT