installation help
Bud Davis
bdavis9659@comcast.net
Tue Oct 19 13:28:00 GMT 2004
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
More information about the Fortran
mailing list