www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/07/22/04:00:17

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Installation Problem
Date: 22 Jul 2002 07:47:39 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 47
Message-ID: <ahgdar$dkr$1@nets3.rz.RWTH-Aachen.DE>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1020721083326 DOT 8648J-100000 AT is> <o1y_8.977188$yP6 DOT 31293878 AT Flipper>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 1027324059 13979 137.226.32.75 (22 Jul 2002 07:47:39 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 22 Jul 2002 07:47:39 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


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