delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/26/02:22:22

From: "John M. Aldrich" <fighteerNO AT SPAMcs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Still cannot persuade compiler to see *h files.
Date: Fri, 25 Apr 1997 10:21:10 +0000
Organization: Two pounds of chaos and a pinch of salt
Lines: 58
Message-ID: <33608596.4930@SPAMcs.com>
References: <5jrpja$fp3 AT ramona DOT sfo DOT com>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp110.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


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