This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: c/903


The following reply was made to PR c/903; it has been noted by GNATS.

From: bje@gcc.gnu.org
To: aach@genetics.med.harvard.edu, bje@gcc.gnu.org, gcc-gnats@gcc.gnu.org,
  nobody@gcc.gnu.org
Cc:  
Subject: Re: c/903
Date: 24 Dec 2000 08:57:19 -0000

 Synopsis: gcc compiler cannot find log10 function
 
 Responsible-Changed-From-To: unassigned->bje
 Responsible-Changed-By: bje
 Responsible-Changed-When: Sun Dec 24 00:57:19 2000
 Responsible-Changed-Why:
     I'll handle this one.
 State-Changed-From-To: open->closed
 State-Changed-By: bje
 State-Changed-When: Sun Dec 24 00:57:19 2000
 State-Changed-Why:
     This is not a bug in GCC.
     If you use the log10() function, you must link the math library
     with `-lm' (ie. gcc foo.c -o foo -lm).  The only reason G++ works is
     that the C++ compiler front-end includes -lm when running the linker
     for you.
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=903&database=gcc

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]