www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/31/11:40:03

Message-Id: <3.0.5.32.19990531114327.007bd100@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: Mon, 31 May 1999 11:43:27 -0400
To: djgpp AT delorie DOT com
From: Karel Uhlir <Karel_Uhlir AT UQAR DOT UQuebec DOT CA>
Subject: Re: Help needed: libf2c.a library (fortran)
In-Reply-To: <7ito9q$ng6$1@usenet.kreonet.re.kr>
References: <3 DOT 0 DOT 5 DOT 32 DOT 19990528114447 DOT 007b8e00 AT jafar DOT uqar DOT uquebec DOT ca>
Mime-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

At 19:26 99-05-31 +0900, you wrote:
>Have you installed g77****b.zip ?
>
>You can compile and link using g77.exe.
>
>
>

Thanks for the hint, but I am using g77 (by default) installed via the
g770523b.zip file. I've checked and tried again and it's still not working
(same error message).

Any other suggestions please?

Thanks,

Karel

***************************

Original message:

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019