Mail Archives: djgpp/1997/04/26/02:22:22
JD wrote:
>
> C:\DJGPP\BIN/ld.exe: cannot open crt0.o: No such file or directory (ENOENT)
> ----------------------------
> /usr/local/include
> /usr/local/go32/include
> /usr/local/lib/gcc-lib/go32/2.7.2.1/include
> /usr/include
> End of search list.
> hello.c:1: stdio.h: No such file or directory (ENOENT)
> -------------------------------------
> What do you make of the above?
This is 99% likely to be a problem with your environment setup. Make
sure that you are setting the DJGPP environment variable as instructed
in the 'readme.1st' file. Since you appear to have your files in
c:\djgpp, this is the command to add to your 'autoexec.bat':
SET DJGPP=C:\DJGPP\DJGPP.ENV
Upper/lowercase should not matter. Spacing DOES matter. Then reboot
your computer. If you see the message, "Out of environment space", you
need to increase the environment of COMMAND.COM (see the MSDOS help to
learn how).
In Windows 95, make sure that the default MS-DOS setup actually runs a
copy of 'autoexec.bat' containing this command.
If you have done _all_ of this, and still don't see results, please look
in the DJGPP FAQ (v2/faq210b.zip), chapter 6.12, for instructions on
preparing a complete system report and posting it here. In short, we
MUST see:
autoexec.bat and config.sys
contents of 'djgpp.env'
output of DOS 'set' command
output of 'go32-v2' command
Please also include the output from 'gcc -v' again, so we don't have to
go looking for it. ;)
hth!
P.S.: You can try downloading my DJVERIFY utility from
<ftp://ftp.delorie.com/pub/djgpp/alpha/vrfy033a.zip>, which may help you
diagnose your problems and can prepare a system report as indicated
above. If you'd like to help test the most recent version (in
development), email me.
--
John M. Aldrich, aka Fighteer I <fighteer AT cs DOT com>
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS d- s+:- a-->? c++>$ U@>++$ p>+ L>++ E>++ W++ N++ o+>++ K? w(---)
O- M-- V? PS+ PE Y+ PGP- t+(-) 5- X- R+(++) tv+() b+++ DI++ D++ G>++
e(*)>++++ h!() !r !y+()
------END GEEK CODE BLOCK------
- Raw text -