Date: Sat, 13 May 2000 17:21:42 -0400 (EDT) Message-Id: <200005132121.RAA16250@indy.delorie.com> From: Eli Zaretskii To: "Alexei A. Frounze" CC: djgpp AT delorie DOT com In-reply-to: <391C43DC.70CAD047@mtu-net.ru> (alex.fru@mtu-net.ru) Subject: Re: OT: RHIDE and G77 (FORTRAN 77) References: <391C43DC DOT 70CAD047 AT mtu-net DOT ru> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: "Alexei A. Frounze" > 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.