Message-Id: <3.0.5.32.19990601105617.007c6210@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: Tue, 01 Jun 1999 10:56:17 -0400 To: djgpp AT delorie DOT com From: Karel Uhlir Subject: Re: libf2c.a library and "f2c" vs "g77" In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Thanks Andris and "DoLL", I did finally succeed to compile under DOS (with "g77"), with the straight forward "good old" command line. That works fine. I figured, as you suggested that the bug was under "Rhide", which I was about to abandon. But the solution that you have given now seems to work fine (see below). Anyone else who has this problem under Rhide just has to add a line in the Rhide.env file as explained. Thank you all for your technical advice. Last question: If I understand well, g77 has grown from f2c? Does g77 "include" f2c? What exactly is the difference? Which is better? Regards, Karel At 10:48 99-06-01 +0300, you wrote: > > >On Tue, 1 Jun 1999, Eli Zaretskii wrote: > >> >> On Mon, 31 May 1999, Karel Uhlir wrote: >> >> > "Make" gives the following error message: >> > >> > Error: d:/djgpp/bin/ld.exe: cannot open -lf2c: No such file or directory >> > (ENOENT) >> >> Perhaps the default Fortran rules of RHIDE only expect Fortran programs >> to be compiled with f2c, not with g77? >> > >It's a bug. You may try to add the following line to >d:/djgpp/share/rhide/rhide.env (according to linker path mentioned >above; create file and directory if needed) > >RHIDE_TYPED_LIBS.f=g2c m > >Andris > > >