Mail Archives: djgpp-workers/1998/02/24/07:38:35
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 -