Date: Thu, 14 Nov 1996 09:02:32 +0200 (IST) From: Eli Zaretskii 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: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.