This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: installation help


On Mon, 2004-10-18 at 20:04, Ed Zaron wrote:
> Hello,
> 
> I recently downloaded and installed the LinuxDailyBinary:
> 
> GNU Fortran 95 (GCC 4.0.0 20041018)
> 
> The compiler seems to produce object files fine, but I can't get it to 
> link. I get the error:
> 
> /usr/bin/ld: cannot find -lm
> collect2: ld returned 1 exit status
> 
> Could I have the wrong version of gcc? "gcc --version" reports:
> 
> gcc (GCC) 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)
> 
> I'm not sure where to get the 4.0.0 version of gcc, but before chasing 
> it down I thought I'd ask if this was likely the issue.  ... or maybe 
> it is a simple path problem.
> 
> Thanks for your work on this project! It would be pretty cool to have a 
> high-quality open-source f90/95 compiler out there. (presently I use 
> IBM's xlf for my work --- but, somehow, fortran has become a hobby for 
> me at home too!).
> 
> Best regards,
> 
> Ed


gcc4.0 is in the same tarball, look for it in 

<wherever_you_put_it>/irun/bin/

it maybe helpful to add the -V option, to see exactly what is going on.


--bud



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