www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/14/02:13:24

Date: Thu, 14 Nov 1996 09:02:32 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: David Loose <74372 DOT 3316 AT CompuServe DOT COM>
Cc: djgpp AT delorie DOT com
Subject: Re: Linker Troubles With Version 2.01
In-Reply-To: <56dmbu$8ir@hil-news-svc-5.compuserve.com>
Message-Id: <Pine.SUN.3.91.961114085957.6763H-100000@is>
Mime-Version: 1.0

On Thu, 14 Nov 1996, David Loose wrote:

> I am new to prgramming.  I downloaded DJGPP version 2.01.  I am having
> problems with the lp.exe program.  I am pretty sure that is the
> linker.  I get the following error when I try to compile a hello world
> program. 
> 
> c:\djgpp\bin/ld.exe: cannot open crt0.o: No such file or directory
> (ENOENT)

Add -v to the compilation command you pass to gcc or gxx and post 
everything that is printed during the compilation.  The easiest way to 
achieve this is to redirect the output to a file, like so:

	redir -o gcc.out -eo gxx -v ...

(put the rest of the gcc command line instead of the dots); then post the 
contents of the file `gcc.out' thus created.

- Raw text -


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