Mail Archives: djgpp/1997/10/01/06:31:19
From: | alec AT gte DOT net (Alex Paradis)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Help, compiling error
|
Date: | 29 Sep 1997 02:46:38 GMT
|
Organization: | gte.net
|
Lines: | 30
|
Message-ID: | <60n4qe$f8k$1@gte1.gte.net>
|
NNTP-Posting-Host: | sst1757022.gte.net
|
Mime-Version: | 1.0
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Last night I downloaded all the files from Delorie to run tge gcc
compiler. I figured I'd like to learn C. I unzipped the files with -d
and all the various sub-directories seemed to be correct. I wrote the
simple Hello.c program<g> and tried to compile it. I did it from the
command line as well as the Rhide program. When I did I got the
following error message:
DJGPP\BIN/ld.exe: cannot open crt0.o no such file or directory(ENOENT)
I read all the messages here and noted that others have had the same
or similar problems. But no one seems to have come up with an answer
or if they did they didn't post their solution. I did have a problem
with my autoexec.bat at first. What I have now is:
echo set DJGPP=C:\DJGPP\DJGPP.ENV
PATH=C:\;C:\WINDOWS;C:\UTILITY;C:\DJGPP\BIN
DOSKEY
I didn't know if I could drop from windows to dos or if I needed to
restart in the dos mode. Well I put in an autoexec.dos and downloaded
and put in the cwsdpmi and it still gave me the same thing.
The same problem occurs when I use Rhide. But before the last change
to my autoexec I was getting the same basic message but with stdio.h
instead of the crt0o.o. It leads me to think it has something to do
with the path, but I don't know what. I can not run this thing,
period.
Any help would REALLY be appreciated.
...... Alex
- Raw text -