www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/29/10:30:36

Message-ID: <34A7ED39.70D7@binghamton.edu>
Date: Mon, 29 Dec 1997 10:34:34 -0800
From: Bob Kematick <kmatick AT binghamton DOT edu>
Reply-To: kmatick AT binghamton DOT edu
Organization: Binghamton University
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Gcc can't find crt0.o
References: <688agn$cfc$1 AT cadmium DOT aware DOT nl>
NNTP-Posting-Host: bing231.net108.binghamton.edu
Lines: 23
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Rick wrote:
> 
> Hello,
> 
> I have encountered a strange problem with GCC after I just
> installed it. Both from commandline, with Rhide and with
> the windows IDE I got the same link-error:
> C:\DJGPP\BIN\LD.EXE cannot open crt0.o. No such file or
> directory[ENOENT].
> 
> But the file crt0.o is in C:\DJGPP\LIB! Even when I copy it to
> \BIN or \DJGPP the same error is there. FI the LIB variable
> is set to \DJGPP\LIB.

Why worry about the LIB variable ?

Check if the DJGPP environment variable is set.

eg:  
set djgpp=c:\djgpp\djgpp.env


Also , c:\djgpp\bin should be on your path.

- Raw text -


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