delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/06/14/06:54:47

From: pavenis AT lanet DOT lv
Message-ID: <B0000090429@stargate.astr.lu.lv>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>, djgpp-workers AT delorie DOT com
Date: Mon, 14 Jun 1999 13:54:17 +0300
MIME-Version: 1.0
Subject: Re: Small changes to DJGPP.ENV
References: <Pine DOT A41 DOT 4 DOT 05 DOT 9906141101410 DOT 71812-100000 AT ieva01 DOT lanet DOT lv>
In-reply-to: <Pine.SUN.3.91.990614130643.3878A-100000@is>
X-mailer: Pegasus Mail for Win32 (v3.11)
Reply-To: djgpp-workers AT delorie DOT com

On 14 Jun 99, at 13:09, Eli Zaretskii wrote:

> 
> On Mon, 14 Jun 1999, Andris Pavenis wrote:
> 
> > 	when specifying COMPILER_PATH=$DJDIR/bin gcc searches $DJDIR/bin
> > 	for executables before gcc version specific directory which breaks
> > 	things as I noted before if $DJDIR/bin contains cpp.exe.
> 
> Why does this break things?  This should only be a problem if the two 
> versions of cpp.exe are different.  Or did I miss something?
> 

They ARE different. gcc-2.95 installation installs cpp.exe it in $prefix/bin. Below are outputs of both when command line 
option -v is specified (preprocessed source skipped)

Andris

C:\TMP>d:\djgpp\bin\cpp -v xxx.c >/dev/null
Reading specs from d:/djgpp/lib/gcc-lib/djgpp/gcc-2.95/specs
gcc version gcc-2.95 19990608 (prerelease)
 d:/djgpp/lib/gcc-lib/djgpp/gcc-2.95/cpp.exe -lang-c -v -Dunix -Di386 -DGO32 -DD
JGPP=2 -DMSDOS -D__unix__ -D__i386__ -D__GO32__ -D__DJGPP__=2 D__MSDOS__ -D__un
ix -D__i386 -D__GO32 -D__DJGPP=2 -D__MSDOS -Asystem(unix) -Asystem(msdos) -Acpu(
i386) -Amachine(i386) -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di
586 -Dpentium -D__i586 -D__i586__ -D__pentium -D__pentium__ -imacros d:/djgpp/bi
n/../include/sys/version.h -remap xxx.c -o /dev/null
GNU CPP version gcc-2.95 19990608 (prerelease) (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
 d:/djgpp/include
 d:/djgpp/include
 d:/djgpp/lib/gcc-lib/djgpp/gcc-2.95/../../../../djgpp/include
 d:/djgpp/lib/gcc-lib/djgpp/gcc-2.95/include
 d:/djgpp/include
End of search list.
The following default directories have been omitted from the search path:
 $DJDIR/lang/cxx
End of omitted list.

C:\TMP>d:\djgpp\lib\gcc-lib\djgpp\gcc-2.95\cpp -v xxx.c >/dev/null
GNU CPP version gcc-2.95 19990608 (prerelease) (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
 d:/djgpp/include
 d:/djgpp/lib/gcc-lib/djgpp/gcc-2.95/../../../../djgpp/include
 d:/djgpp/lib/gcc-lib/djgpp/gcc-2.95/include
 d:/djgpp/include
End of search list.
The following default directories have been omitted from the search path:
 $DJDIR/lang/cxx
End of omitted list.


- Raw text -


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