Date: Wed, 5 Aug 1998 09:47:45 +0200 (WET) From: Andris Pavenis To: Budi Satriyo cc: djgpp AT delorie DOT com Subject: Re: Fortran and RHIDE problem In-Reply-To: <57060CC22AC@cyberlib.itb.ac.id.> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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)