delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/02/24/07:38:35

Message-ID: <19980224133528.44278@beeblebrox>
Date: Tue, 24 Feb 1998 13:35:28 +0100
From: Laszlo Molnar <molnarl AT cdata DOT tvnet DOT hu>
To: Robert Hoehne <robert DOT hoehne AT gmx DOT net>
Cc: djgpp-workers AT delorie DOT com
Subject: Re: GCC 2.8.0 for DJGPP
References: <34E36D6C DOT 89DD0CAA AT gmx DOT net> <19980217133555 DOT 54442 AT beeblebrox> <34EECD00 DOT 51375E30 AT gmx DOT net>
Mime-Version: 1.0
In-Reply-To: <34EECD00.51375E30@gmx.net>; from Robert Hoehne on Sat, Feb 21, 1998 at 01:48:00PM +0100

On Sat, Feb 21, 1998 at 01:48:00PM +0100, Robert Hoehne wrote:
> Laszlo Molnar wrote :
> > 
> > 1, Something is wrong with the default search path. I had to move
> > cc1.exe and cpp.exe to $DJDIR/bin/djgpp/2.80/.
> 
> Please can you double check it again. Is it really true, that
> gcc does not find cc1.exe and cpp.exe when they are in
> 
> $DJDIR/lib/gcc-lib/djgpp/2.80/
> 
> I can't imagine this, since at least for me gcc finds them
> even when I have a complete empty [gcc] section in my djgpp.env.

I just said that after I unzipped gcc280b.zip and typed

        gcc -march=pentium foo.c

it failed, because gcc found the old cc1.exe in $DJDIR/bin first.

Here is the complete list of .exe files gcc tries to run according
to my dos call tracer:

c:/djgpp/bin/djgpp/2.80/cpp.exe,
c:/djgpp/bin/cpp.exe,
c:/djgpp/lib/gcc-lib/djgpp/2.80/cpp.exe,
c:/djgpp/lib/gcc-lib/djgpp/cpp.exe,
c:/djgpp/lib/gcc-lib/djgpp/2.80/$DJDIR/djgpp/bin/djgpp/2.80/cpp.exe,
c:/djgpp/lib/gcc-lib/djgpp/2.80/$DJDIR/djgpp/bin/cpp.exe,

I think gcc should start the new cpp and cc1, so you could move them
to bin/djgpp/2.80/ or you might change the directory order.

Laszlo

ps: my djgpp.env contains the following lines in [gcc]:

[gcc]
COMPILER_PATH=%/>;COMPILER_PATH%%DJDIR%/bin
LIBRARY_PATH=%/>;LIBRARY_PATH%%DJDIR%/lib

ps2: the last 2 pathnames look strange for me...

- Raw text -


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