delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/30/12:02:11

Date: Tue, 30 Dec 1997 18:59:48 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Rick <authentic AT tip DOT nl>
cc: djgpp AT delorie DOT com
Subject: Re: Gcc can't find crt0.o
In-Reply-To: <68b0oq$3uf$1@cadmium.aware.nl>
Message-ID: <Pine.SUN.3.91.971230185350.1711B-100000@is>
MIME-Version: 1.0

On Mon, 29 Dec 1997, Rick wrote:

> Also when I manually set the library_path variable to c:\djgpp\lib
> then I got  a whole bunch of cout reference errors, but not the
> crt0.o error.

This strongly indicates that the problem is with the way you set the 
DJGPP environment variable.  Please post here your CONFIG.SYS and
AUTOEXEC.BAT.  Also, in the same DOS box where you are trying to invoke 
gcc, type "set > env.lst" and post the contents of the file env.lst that 
this command creates.

> After reinstalling djdev+lgp+gpp nothing changes. I will
> try reinstalling binutils now

This is DJGPP, not MS Word---reinstalling isn't the way to solve 
problems.  I suggest to stop this re-installation boogie and concentrate 
on the correct setup as explained in the readme.1st file and section 8.1 
of the DJGPP FAQ list (v2/faq210b.zip from the same place you get DJGPP).

> The question is WHAT does LD.EXE expect for the path of crt0.o ?????

It is all set up by the magic DJGPP.ENV file.  If you haven't changed it, 
and if your DJGPP environment variable points correctly to that file, ld 
should find crt0.o automatically.

- Raw text -


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