delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/08/20/14:32:58

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: question:how to set rhide for c++
Date: 20 Aug 2002 08:52:31 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 35
Message-ID: <ajt00f$qci$1@nets3.rz.RWTH-Aachen.DE>
References: <ajrjni$g9d$3 AT debian DOT bentium DOT com>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 1029833551 27026 137.226.32.75 (20 Aug 2002 08:52:31 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 20 Aug 2002 08:52:31 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

James <gogNOSPAMet4me AT yanospamhoo DOT com> wrote:

> Hi,here i have a question:
> I unzip the djgpp zip files,and use a dos .bat file to run it:
> @//////////////////////
> set DJGPP=.\djgpp.env
            ^^^^^^^^^^
> set path=.\bin;%PATH%
           ^^^^^

Both of these are wrong.  Insert absolute paths there.  I.e. something like

	set DJGPP=d:\whatever\djgpp\djgpp.env
	set path=d:\whatever\djgpp\bin:%PATH%

Otherwise, you won't be able to compile at all in any directory other
than the DJGPP toplevel directory, (d:\whatever\djgpp in the example
above), where you shouldn't be storing any additional files, let alone
run the compiler on a regular basis.

>  c:/Documents and Settings/djgpp/bin/ld.exe: cannot open c++: No such 
> file or directory (ENOENT)

You broke your RHIDE configuration, possibly because of the hickup in
your .bat file explained above.  "ld" shouldn't be trying to read any
file called "c++".

And for sanity's sake, don't install DJGPP in a path with blanks in.

> Another question(Maybe off-topic here):

Not off-topic, but a FAQ.  The answer is the "redir.exe" program.
-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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