Mail Archives: djgpp/1999/05/28/11:42:52
Hello,
After many tries, I can compile a simple fortran file, but I cannot link it.
I use the Rhide developping tool under Win95. I use recent versions of all
files (DJGPP, Rhide, etc.) which I downloaded and installed last week (05/99).
Simple file tested: simptest.f
Content of simptest.f:
real x, poly
print *, 'What value of x?'
read *,x
poly = 2.0*(x**4) - 15.0*(x**3)-2.0*(x**2)+120.0*x-130.0
print *, 'For x = ', x, ' the value of the polynomial is ', poly
end
Compile: no errors
"Make" gives the following error message:
Error: d:/djgpp/bin/ld.exe: cannot open -lf2c: No such file or directory
(ENOENT)
I have searched all over to conclude that I am missing the libf2c.a library
(or something similar). I have found a few source codes of this library,
and tried to compile them without much success. (How is a "makefile"
used under DOS/Win95 ???? or do I use Rhide to compile/make this library???)
I really need advice as I have to get this compiler running (to compile
fortran files) within a couple of days.
Thank you,
Karel
- Raw text -