Mail Archives: djgpp/2002/07/22/04:00:17
Daniel Noorduin <w DOT noorduin AT chello DOT nl> wrote:
[...]
> Hey, thanks man! Thanks to that -v suggestion i finally seem to be getting
> somewhere. Here is what it says when i try to compile something:
[reformatted by me...]
> c:/djgpp/lib/gcc-lib/djgpp/3.1/cc1.exe -lang-c -v -D__GNUC__=3
> -D__GNUC_MINO R__=1 -D__GNUC_PATCHLEVEL__=0 -D__32BIT__ -D__EMX__
> -Di386 -D__32BIT__ -D__EMX__ -D__i386__ -D__i386 -Asystem(unix)
^^^^^^^^^
> -Asystem(emx) -Acpu(i386) -Amachine(i386) -D__NO_INLINE__
^^^^^^^^^^^^^^
This is the first sign of trouble You're still using those RSXNT (not
even RSXNTDJ, but the EMX-based original version) include prefixes.
> #include <...> search starts here:
> C:/RSXNT/INCLUDE
^^^^^^^^^^^^^^^^^^^
Same problem here.
> Could this problem be the result of having two different compilers installed
> on my computer (DJGPP and RSXNT)??
It most definitely is.
> And does anyone know of a decent way to fix this??
You cannot have the environment settings for both compilers active
simultaneously.
Remove the environment settings for both compilers from your
autoexec.bat. Keep them in separate batch files, like "SETDJGPP.BAT"
and "SETRSXNT.BAT", instead. It may be useful to have additional
files "ENDDJGPP.BAT" and "ENDRSXNT.BAT" which undo all changes made by
the SET*.BAT files.
If you're using Windows 9x or later: create a copy of the 'MSDOS
Command Window' link found in Start->Programs. Change its settings to
make it run SETDJGPP.BAT or SETRSXNT.BAT as its startup batch file.
The DJGPP README.1st has more details about this, IIRC.
Opening this link will get you a DOS window with all settings for
DJGPP (or RSXNT, resp.) active. It can be a useful idea to have a
keyboard shortcut for this link.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -