Mail Archives: djgpp/1998/03/03/23:15:46
Maciej Radziejewski wrote in message
<3 DOT 0 DOT 5 DOT 32 DOT 19980303224955 DOT 007b5950 AT math DOT amu DOT edu DOT pl>...
>>RHIDE_GCC=pgcc
>I just wanted to note, that adding these two lines prevents
>my installation of RHIDE from performing the compilation.
>I get the 'Bad command or file name' message in the compile
>window.
Note that I don't have rhide, and I also don't have a dual gcc installation
so this is a guess.
Presumably, rhide is trying to execute a program named pgcc.exe. It won't
find it because by default
the zip file overwrites your existing gcc.exe. If you were really clever,
you could keep your old gcc.exe, and have the new gcc.exe by pgcc.exe. Then
you could install the corresponding new pre-processor and compiler (cpp.exe
and cc1.exe) into a special directory (like djgpp/bin/pgcc or something),
last you would modify djgpp.env and create a special entry for pgcc.exe and
have its search path look in your new directory before looking in regular
bin directory. This way, you could just say 'gcc foo.c' or 'pgcc foo.c' and
have both compilers installed at the same time.
This might actually be a really smart way to go, although it does eat up a
little more disk space. Robert is changing around gcc 2.8 to be more unix
like (having target/version subdirs), so I may switch over once that is
finalized. But the current way is clean and easy assuming pgcc works :)
- Raw text -