Mail Archives: djgpp/1998/08/05/02:50:43
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 -