www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/07/02/07:25:34

Message-ID: <359B8867.8AF792C4@gmx.net>
Date: Thu, 02 Jul 1998 13:17:28 +0000
From: Robert Hoehne <robert DOT hoehne AT gmx DOT net>
Organization: none provided
MIME-Version: 1.0
To: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
CC: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>, Andris Pavenis <pavenis AT lanet DOT lv>,
djgpp workers list <djgpp-workers AT delorie DOT com>
Subject: Re: Some notes about DJDEV202.ZIP
References: <Pine DOT LNX DOT 3 DOT 93 DOT 980701121045 DOT 12497A-100000 AT acp3bf>

Dies ist eine mehrteilige Nachricht im MIME-Format.
--------------A4F73C937A9CD6D7EDFC706F
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hans-Bernhard Broeker wrote :
> 
> 
> 2) DJGPP, current setup, with gcc-2.81:
> a) $(DJDIR), via setting of $(C_INCLUDE_PATH) and $(LIBRARY_PATH)
> b) $(DJDIR)/gnu/gcc-2.81
> c) /usr -- usually inexistant!

Please test it first before you write such things. To prove
it I have appended two files

'with': here are the search paths are set via djgpp.env
'without': without setting the paths

the ouput comes from modified gcc.exe and cpp.exe, which
show all searched paths and all tried files

Robert
--------------A4F73C937A9CD6D7EDFC706F
Content-Type: text/plain; charset=us-ascii; name="with"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="with"

relevant lines from djgpp.env:
[cpp]
C_INCLUDE_PATH=%DJDIR%/include

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


(the specs file was removed to see, how it is searched)
(all paths which start with d:/djgpp are expanded at runtime
from the environmet variable DJDIR)

gcc -v -o test.exe test.c

trying d:/djgpp/lib/djgpp\2.81\specs
trying d:/djgpp/lib/specs
trying d:/djgpp/lib/gcc-lib/djgpp\2.81\specs
trying /usr/lib/gcc/djgpp\2.81\specs
trying d:/djgpp/lib/gcc-lib/djgpp/2.81/$DJDIR/djgpp/lib/djgpp\2.81\specs
trying d:/djgpp/lib/gcc-lib/djgpp/2.81/$DJDIR/djgpp/lib/specs
Using builtin specs.
gcc version 2.8.1
trying d:/djgpp/bin/djgpp\2.81\cpp.exe
trying d:/djgpp/bin/djgpp\2.81\cpp
trying d:/djgpp/bin/cpp.exe
trying d:/djgpp/bin/cpp
trying d:/djgpp/lib/gcc-lib/djgpp\2.81\cpp.exe
 d:/djgpp/lib/gcc-lib/djgpp\2.81\cpp.exe -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=8 -Dunix -Di386 -DGO32 -DMSDOS -DDJGPP=2 -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__DJGPP__=2 -D__unix -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=2 test.c g:/tmp\ccaqn0qg
GNU CPP version 2.8.1 (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
 d:/djgpp/include
 d:/djgpp/djgpp/include
 d:/djgpp/lib/gcc-lib/djgpp/2.81/include
 d:/djgpp/include
End of search list.
trying d:/djgpp/bin/djgpp\2.81\cc1.exe
trying d:/djgpp/bin/djgpp\2.81\cc1
trying d:/djgpp/bin/cc1.exe
trying d:/djgpp/bin/cc1
trying d:/djgpp/lib/gcc-lib/djgpp\2.81\cc1.exe
 d:/djgpp/lib/gcc-lib/djgpp\2.81\cc1.exe g:/tmp\ccaqn0qg -quiet -dumpbase test.c -version -o g:/tmp\ccbqn0qg
GNU C version 2.8.1 (djgpp) compiled by GNU C version 2.8.0.
trying d:/djgpp/bin/djgpp\2.81\as.exe
trying d:/djgpp/bin/djgpp\2.81\as
trying d:/djgpp/bin/as.exe
 d:/djgpp/bin/as.exe -o g:/tmp\cccqn0qg g:/tmp\ccbqn0qg
trying d:/djgpp/lib/djgpp\2.81\crtf.o
trying d:/djgpp/lib/crtf.o
trying d:/djgpp/lib/gcc-lib/djgpp\2.81\crtf.o
trying d:/djgpp/lib/djgpp\2.81\crt0.o
trying d:/djgpp/lib/crt0.o
trying d:/djgpp/bin/djgpp\2.81\ld.exe
trying d:/djgpp/bin/djgpp\2.81\ld
trying d:/djgpp/bin/ld.exe
 d:/djgpp/bin/ld.exe -o test.exe d:/djgpp/lib/gcc-lib/djgpp\2.81\crtf.o d:/djgpp/lib/crt0.o -Ld:/djgpp/lib -Ld:/djgpp/lib/gcc-lib/djgpp\2.81 -Ld:/djgpp/bin -Ld:/djgpp/lib g:/tmp\cccqn0qg -lgcc -lc -lgcc -Tdjgpp.djl
trying d:/djgpp/bin/djgpp\2.81\stubify.exe
trying d:/djgpp/bin/djgpp\2.81\stubify
trying d:/djgpp/bin/stubify.exe
 d:/djgpp/bin/stubify.exe -v test.exe

--------------A4F73C937A9CD6D7EDFC706F
Content-Type: text/plain; charset=us-ascii; name="without"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="without"

relevant lines from djgpp.env:
[cpp]
#C_INCLUDE_PATH=%DJDIR%/include

[gcc]
#COMPILER_PATH=%DJDIR%/bin
#LIBRARY_PATH=%DJDIR%/lib


(the specs file was removed to see, how it is searched)
(all paths which start with d:/djgpp are expanded at runtime
from the environmet variable DJDIR)

gcc -v -o test.exe test.c

trying d:/djgpp/lib/gcc-lib/djgpp\2.81\specs
trying /usr/lib/gcc/djgpp\2.81\specs
trying d:/djgpp/lib/gcc-lib/djgpp/2.81/$DJDIR/djgpp/lib/djgpp\2.81\specs
trying d:/djgpp/lib/gcc-lib/djgpp/2.81/$DJDIR/djgpp/lib/specs
Using builtin specs.
gcc version 2.8.1
trying d:/djgpp/lib/gcc-lib/djgpp\2.81\cpp.exe
 d:/djgpp/lib/gcc-lib/djgpp\2.81\cpp.exe -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=8 -Dunix -Di386 -DGO32 -DMSDOS -DDJGPP=2 -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__DJGPP__=2 -D__unix -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=2 test.c g:/tmp\ccayqlqg
GNU CPP version 2.8.1 (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
 d:/djgpp/djgpp/include
 d:/djgpp/lib/gcc-lib/djgpp/2.81/include
 d:/djgpp/include
End of search list.
trying d:/djgpp/lib/gcc-lib/djgpp\2.81\cc1.exe
 d:/djgpp/lib/gcc-lib/djgpp\2.81\cc1.exe g:/tmp\ccayqlqg -quiet -dumpbase test.c -version -o g:/tmp\ccbyqlqg
GNU C version 2.8.1 (djgpp) compiled by GNU C version 2.8.0.
trying d:/djgpp/lib/gcc-lib/djgpp\2.81\as.exe
trying d:/djgpp/lib/gcc-lib/djgpp\2.81\as
trying d:/djgpp/lib/gcc-lib/djgpp\as.exe
trying d:/djgpp/lib/gcc-lib/djgpp\as
trying /usr/lib/gcc/djgpp\2.81\as.exe
trying /usr/lib/gcc/djgpp\2.81\as
trying /usr/lib/gcc/djgpp\as.exe
trying /usr/lib/gcc/djgpp\as
trying d:/djgpp/lib/gcc-lib/djgpp/2.81/$DJDIR/djgpp/bin/djgpp\2.81\as.exe
trying d:/djgpp/lib/gcc-lib/djgpp/2.81/$DJDIR/djgpp/bin/djgpp\2.81\as
trying d:/djgpp/lib/gcc-lib/djgpp/2.81/$DJDIR/djgpp/bin/as.exe
trying d:/djgpp/lib/gcc-lib/djgpp/2.81/$DJDIR/djgpp/bin/as
trying d:/djgpp/bin/djgpp\2.81\as.exe
trying d:/djgpp/bin/djgpp\2.81\as
trying d:/djgpp/bin/as.exe
 d:/djgpp/bin/as.exe -o g:/tmp\cccyqlqg g:/tmp\ccbyqlqg
trying d:/djgpp/lib/gcc-lib/djgpp\2.81\crtf.o
trying d:/djgpp/lib/gcc-lib/djgpp\2.81\crt0.o
trying /usr/lib/gcc/djgpp\2.81\crt0.o
trying d:/djgpp/lib/gcc-lib/djgpp/2.81/$DJDIR/djgpp/lib/djgpp\2.81\crt0.o
trying d:/djgpp/lib/gcc-lib/djgpp/2.81/$DJDIR/djgpp/lib/crt0.o
trying d:/djgpp/bin/djgpp\2.81\crt0.o
trying d:/djgpp/bin/crt0.o
trying d:/djgpp/lib/djgpp\2.81\crt0.o
trying d:/djgpp/lib/crt0.o
trying d:/djgpp/lib/gcc-lib/djgpp\2.81\ld.exe
trying d:/djgpp/lib/gcc-lib/djgpp\2.81\ld
trying d:/djgpp/lib/gcc-lib/djgpp\ld.exe
trying d:/djgpp/lib/gcc-lib/djgpp\ld
trying /usr/lib/gcc/djgpp\2.81\ld.exe
trying /usr/lib/gcc/djgpp\2.81\ld
trying /usr/lib/gcc/djgpp\ld.exe
trying /usr/lib/gcc/djgpp\ld
trying d:/djgpp/lib/gcc-lib/djgpp/2.81/$DJDIR/djgpp/bin/djgpp\2.81\ld.exe
trying d:/djgpp/lib/gcc-lib/djgpp/2.81/$DJDIR/djgpp/bin/djgpp\2.81\ld
trying d:/djgpp/lib/gcc-lib/djgpp/2.81/$DJDIR/djgpp/bin/ld.exe
trying d:/djgpp/lib/gcc-lib/djgpp/2.81/$DJDIR/djgpp/bin/ld
trying d:/djgpp/bin/djgpp\2.81\ld.exe
trying d:/djgpp/bin/djgpp\2.81\ld
trying d:/djgpp/bin/ld.exe
 d:/djgpp/bin/ld.exe -o test.exe d:/djgpp/lib/gcc-lib/djgpp\2.81\crtf.o d:/djgpp/lib/crt0.o -Ld:/djgpp/lib/gcc-lib/djgpp\2.81 -Ld:/djgpp/bin -Ld:/djgpp/lib g:/tmp\cccyqlqg -lgcc -lc -lgcc -Tdjgpp.djl
trying d:/djgpp/lib/gcc-lib/djgpp\2.81\stubify.exe
trying d:/djgpp/lib/gcc-lib/djgpp\2.81\stubify
trying d:/djgpp/lib/gcc-lib/djgpp\stubify.exe
trying d:/djgpp/lib/gcc-lib/djgpp\stubify
trying /usr/lib/gcc/djgpp\2.81\stubify.exe
trying /usr/lib/gcc/djgpp\2.81\stubify
trying /usr/lib/gcc/djgpp\stubify.exe
trying /usr/lib/gcc/djgpp\stubify
trying d:/djgpp/lib/gcc-lib/djgpp/2.81/$DJDIR/djgpp/bin/djgpp\2.81\stubify.exe
trying d:/djgpp/lib/gcc-lib/djgpp/2.81/$DJDIR/djgpp/bin/djgpp\2.81\stubify
trying d:/djgpp/lib/gcc-lib/djgpp/2.81/$DJDIR/djgpp/bin/stubify.exe
trying d:/djgpp/lib/gcc-lib/djgpp/2.81/$DJDIR/djgpp/bin/stubify
trying d:/djgpp/bin/djgpp\2.81\stubify.exe
trying d:/djgpp/bin/djgpp\2.81\stubify
trying d:/djgpp/bin/stubify.exe
 d:/djgpp/bin/stubify.exe -v test.exe

--------------A4F73C937A9CD6D7EDFC706F--


- Raw text -


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