Message-Id: <3.0.5.32.19990528114447.007b8e00@jafar.uqar.uquebec.ca> X-Sender: ruuhlkar AT jafar DOT uqar DOT uquebec DOT ca X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Fri, 28 May 1999 11:44:47 -0400 To: djgpp AT delorie DOT com From: Karel Uhlir Subject: Help needed: libf2c.a library (fortran) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Reply-To: djgpp AT delorie DOT com 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