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

Re: [*] about gcc



On Mon, Feb 07, 2000 at 04:38:32AM +0900, Junichi Uekawa wrote:
> you need to do 
> 
> gcc -lm
> 
> to link the maths library.
> 
> Don't ask me why. 

Because the actual code for the sqrt function is in the math library,
and the math library isn't linked in by default.


-- 
  finger for GPG public key.
  8 Jan 2000 - Old email addresses removed from key, new added

Attachment: pgpYJCdjOxWuA.pgp
Description: PGP signature


Reply to: