delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/05/02:50:43

Date: Wed, 5 Aug 1998 09:47:45 +0200 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
To: Budi Satriyo <SATRIYO150 AT cyberlib DOT itb DOT ac DOT id>
cc: djgpp AT delorie DOT com
Subject: Re: Fortran and RHIDE problem
In-Reply-To: <57060CC22AC@cyberlib.itb.ac.id.>
Message-ID: <Pine.A32.3.91.980805094238.45814A-100000@ieva01.lanet.lv>
MIME-Version: 1.0


On Wed, 5 Aug 1998, Budi Satriyo wrote:

> Hi!
> 
> I am willing to compiling my fortran programs with DJGPP + RHIDE, so 
> I downloaded g770523b.zip from ftp.simtel.net. Then I unzipped it to 
> my  DJGPP directory using Winzip.  But as  I try compiling my simple 
> fortran  program with RHIDE it returns an error message when linking 
> the program:
> 
> Error:   c:/djgpp/bin/ld.exe:  cannot open  -lf2c:  No such  file or 
> directory (ENOENT)
> There were some errors.
> 
> I suspect that I miss some files that should be included in DJGPP or 
> some configuration modifications before compiling fortran with RHIDE.
> If I use G77 command to compile like:
> 

Add line
RHIDE_TYPED_LIBS.f=g2c m

to C:/DJGPP/SHARE/RHIDE/RHIDE.ENV  (or create such file if it doesn't
exist). You can check needed libraries by running 
  g77 -v foo.f -o foo.exe     (replace foo with real name)

- Raw text -


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