Date: Sun, 04 Nov 2001 20:17:45 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: "Izaola" Message-Id: <6480-Sun04Nov2001201744+0200-eliz@is.elta.co.il> X-Mailer: emacs 21.1.50 (via feedmail 8 I) and Blat ver 1.8.9 CC: djgpp AT delorie DOT com In-reply-to: <9s3vc0$gcc2@eui1nw.euskaltel.es> (izaola@euskalnet.net) Subject: Re: Need help with g77 References: <9s3vc0$gcc2 AT eui1nw DOT euskaltel DOT es> 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: "Izaola" > Newsgroups: comp.os.msdos.djgpp > Date: Sun, 4 Nov 2001 18:54:04 +0100 > > > > g77 foo.f > > > ld.exe: foo.f: file format no recognized. .... > > > > I cannot reproduce this. Please type "g77 -v foo.f" and post here > > everything that the compiler prints. > > this is what g77 -v silban.f says: > > g77 -v silban.f > g77 version 0.5.19 > gcc -v -xf77 silban.f -xnone -lf2c -lm > Reading specs from c:/djgpp/lib\specs > gcc version 2.7.2.1 > gcc.exe: language f77 not recognized This clearly tells what's wrong: you have a very old version of GCC, which doesn't support Fortran 77. Solution: download and install a newer gccNNNb.zip from SimTel. I suggest to download the latest g77NNNb.zip together with it, so that both GCC and g77 would be in sync.