Mail Archives: djgpp/1996/11/14/02:13:24
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 -