Bernhard Rosenkraenzer wrote:
> On Sun, 27 Feb 2000, Larry Mintz wrote:
> 
> > I get the following error  when compiling
> > gcc -o foo foo.c 
> 
> pow() is in libm, so you want to do gcc -o foo -lm foo.c

It's the canonical "why won't this link" example.

-W-


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to