delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/15/15:34:13

Date: Tue, 15 Jul 1997 12:31:35 -0700 (PDT)
Message-Id: <199707151931.MAA08021@adit.ap.net>
Mime-Version: 1.0
To: pyropete AT geocities DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: Newbie error question
Cc: djgpp AT delorie DOT com

You wrote:
>I'm just getting started with c++, I got M$VC++ and found that I didn't 
>have that kind of HD space, so I found DJGPP. I'm getting it running now,
>and wrote my first little "Hello world!" program... It compiles, I 
>created the makefile, and tried to make it. Well, I got an error, can any 
>of you help me?
>
>Error: ld.exe: cannon open crt0.o: No such file or directory (ENOENT)
>
>I checked, that file is in the lib\ directory.
Sounds like your DJGPP environment variable isn't set. Someone correct me if
I'm wrong, but I think adding the line `SET DJGPP=c:/djgpp/djgpp.env'
(change this if you put it somewhere else and note front slashes) to
AUTOEXEC.BAT should work, even under Lose95 :-\ .

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


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