delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/11/04:29:03

Date: Sun, 11 Jul 1999 11:26:41 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: "Leonardo A. Saravia" <lsaravia AT mail DOT retina DOT ar>
cc: djgpp AT delorie DOT com
Subject: Re: crt0.o
In-Reply-To: <001001becb5e$3c0b7220$34ca0ac8@lyl>
Message-ID: <Pine.SUN.3.91.990711112356.16775Q-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sun, 11 Jul 1999, Leonardo A. Saravia wrote:

> I have installed DJGPP and can compile C/C++ programs without problems.
> Recently I installed g77 and when I try the compile/link command: g77 -o
> count.exe count.f
> always receive the followin error:
> 
> C:\DJGPP\BIN/ld.exe: cannot open crt0.o: No such file or directory (ENOENT)

When you installed g77, you screwed something in the DJGPP installation, 
probably because g77 comes with a different version of GCC as its 
back-end.

Add -v to the compilation command line, redirect g77's stderr to a file 
and examine what the compiler prints during compilation.  You should be 
able to see where does it look for crt0.o, which should be a clue as to 
where the problem is.  If you cannot figure this out, post the redirected 
print-out here, and somebody will help you.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019