Mail Archives: djgpp/2005/05/02/12:45:42
DJ Delorie <dj AT delorie DOT com> wrote:
> Second, I don't know why gcc is treating it like a user include; it
> should be a system include.
It's correct according to the docs, because djgpp.ver is not in what
GCC would recognizes as a "system include directory".
Here's some example output (reformatted for legible posting)
C:\My Documents\tmp>gcc -MM -v -c tt.c
Reading specs from c:/djgpp/bin/../lib/gcc/djgpp/3.41/specs
Configured with: /Build/gcc34/gnu/gcc-3.41/configure djgpp
--prefix=/dev/env/DJDIR --disable-nls --disable-libstdcxx-pch
Thread model: single
gcc version 3.4.1
c:/djgpp/bin/../libexec/gcc/djgpp/3.41/cc1.exe -E -quiet -v
-iprefix c:/djgpp/bin/../lib/gcc/djgpp/3.41/ -MM -remap
-imacros c:/djgpp/bin/../lib/gcc/djgpp/3.41/djgpp.ver
tt.c -mtune=pentium
ignoring nonexistent directory
"c:/djgpp/bin/../lib/gcc/djgpp/3.41/../../../../djgpp/include"
ignoring nonexistent directory "c:/djgpp/djgpp/include/"
#include "..." search starts here:
#include <...> search starts here:
c:/djgpp/bin/../lib/gcc/djgpp/3.41/include
c:/djgpp/lib/gcc/djgpp/3.41/include/
c:/djgpp/include/
End of search list.
tt.o: tt.c c:/djgpp/bin/../lib/gcc/djgpp/3.41/djgpp.ver
Unfortunately, adding the directory holding djgpp.ver to the system
include path list in any of the ways I tried (-I, -isystem, both with
and without the bin/.. sequence collapsed) didn't succeed in getting
it removed from the dependency output. Andris?
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -