[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Unidentified subject!



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-



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]