From: "Laine" Newsgroups: comp.os.msdos.djgpp Subject: Re: Help, compiling error Date: 29 Sep 1997 05:54:34 GMT Organization: *** Lines: 25 Message-ID: <01bccd6c$501ef760$483e64c2@default> References: <60n4qe$f8k$1 AT gte1 DOT gte DOT net> NNTP-Posting-Host: dialup207.iwn.fi To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Alex Paradis wrote: > I wrote the simple Hello.c program 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 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 think the answer to your problem might be in your autoexec.bat. You have there the "set DJGPP..." -line. I think you shouldn't have the echo-command before it. It should be like this: set DJGPP=C:\DJGPP\DJGPP.ENV This might help.