Date: Mon, 12 Jul 1999 08:28:34 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: "Leonardo A. Saravia" cc: djgpp AT delorie DOT com Subject: RE: crt0.o In-Reply-To: <000101becc02$f8a33900$2aca0ac8@lyl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, 11 Jul 1999, Leonardo A. Saravia wrote: > GNU Fortran Front End version 0.5.23 > as -o c:/djgpp/tmp\ccbqfc5k c:/djgpp/tmp\ccaqfc5k > ld -o count.exe crt0.o -Lc:/djgpp/lib/gcc-lib/djgpp/2.81 > c:/djgpp/tmp\ccbqfc5k > -lg2c -lm -lgcc -lc -lgcc -Tdjgpp.djl > C:\DJGPP\BIN/ld.exe: cannot open crt0.o: No such file or directory (ENOENT) I'd guess that the environment variable LIBRARY_PATH is not set for g77. One solution is to edit your djgpp.env file and add there a [g77] section that is identical to [gcc] section. But before you edit djgpp.env, I suggest to read again the DJGPP-specific installation instructions for g77 (they should be on some README file in the distribution). I'm sure they explain how to set up g77 so that these problems don't happen. > I don't know why but the file crt0.o is in the /djgpp/lib and not in the > /djgpp/lib/gcc-lib/djgpp/2.81 This is normal, crt0.o is part of the DJGPP library and should be in c:/djgpp/lib, as the rest of the libraries. g77 should instruct the linker to look for libraries and crt0.o in c:/djgpp/lib. Your problem is that it doesn't, due to some installation mishap.