Mail Archives: djgpp/2002/08/20/14:32:58
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 -