Mail Archives: djgpp/1996/11/13/22:28:54
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)
You didn't follow the instructions in the 'readme.1st' file regarding
proper setup of your environment. In order for DJGPP programs to be
able to find their files, you must have set the following in your
AUTOEXEC.BAT:
SET DJGPP=C:\DJGPP\DJGPP.ENV
Of course, if you installed DJGPP in a different drive or directory,
change this accordingly. Also, please download the DJGPP Frequently
Asked Questions list (v2/faq202b.zip) and read section 8.1, which
answers this exact question and goes into a lot more detail as well.
--
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I | fighteer AT cs DOT com |
| Proud owner of what might one | http://www.cs.com/fighteer |
| day be a spectacular MUD... | Plan: To make Bill Gates suffer |
---------------------------------------------------------------------
- Raw text -