Mail Archives: djgpp/2000/05/13/17:56:14
> From: "Alexei A. Frounze" <alex DOT fru AT mtu-net DOT ru>
> Newsgroups: comp.os.msdos.djgpp
> Date: Fri, 12 May 2000 21:48:12 +0400
>
> typing "g77 -o hw.exe hw.for" everything works okay and I get hw.exe that
> prints standard "hello world" message.
>
> When I make a project in the RHIDE, include this file to the project and try
> to compile it, I get the following messages:
>
> ------------------8<-------------------
> gcc -o hw.exe hw.o -lm -lf2c
> d:/djgpp/bin/ld.exe: cannot find -lf2c
Does it help if you call the source file hw.f, not hw.for?
> RHIDE puts the "RHIDE_TYPED_LIBS.f=m f2c" line to the make file.
What makefile? How does the makefile enter this picture, if you
compile the project in RHIDE?
Also, djgpp.env has this line in the [rhide] section, which should
help IIRC:
RHIDE_TYPED_LIBS_DJGPP.f=g2c m
> If I change that line to "RHIDE_TYPED_LIBS.f=m" and run make, I get the
> following messages:
Instead of removing f2c, change it to g2c (g77 doesn't have libf2c.a,
it has libg2c.a). But I really think that the above line in djgpp.env
should have already done that for you.
- Raw text -