delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/29/09:20:07

From: "Laine" <laine AT iwn DOT fi>
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


Alex Paradis <alec AT gte DOT net> wrote:
> 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 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.


- Raw text -


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