Is there something that can be configured to change how gcc reports its search 
path?  I've used different builds of MinGW-W64 and some end up with at least 
one standard header path that is completely forward slashes and some end up 
with only paths that have at least one backslash.  Usually, for the paths that 
have a backslash, gcc reports a fully forward slash path as a duplicate and 
ignores it.  

Another tool that I use, gccxml, cannot interpret paths with backslashes.  
Obviously, that's not a MinGW-W64 problem, but I thought maybe I could 
workaround it since I've noticed different behavior with various MinGW-W64 
builds.

=====================================Main include directory is all forward 
slashes=============================


Using built-in specs.
COLLECT_GCC=c:\MinGW-simics\bin\gcc
COLLECT_LTO_WRAPPER=c:/mingw-simics/bin/../libexec/gcc/x86_64-w64-mingw32/4.5.3/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../../../build/gcc/src/configure --target=x86_64-w64-mingw32 
--prefix=/c/buildbot/mingw-w64/mingw32/mingw-x86-x86_64/build/build/root 
--with-sysroot=/c/buildbot/mingw-w64/mingw32/mingw-x86-x86_64/build/build/root 
--enable-languages=all,obj-c++ --enable-fully-dynamic-string --disable-multilib
Thread model: win32
gcc version 4.5.3 20110207 (prerelease) (GCC)
COLLECT_GCC_OPTIONS='-v' '-mtune=generic' '-march=x86-64'
 c:/mingw-simics/bin/../libexec/gcc/x86_64-w64-mingw32/4.5.3/cc1.exe -quiet -v 
-iprefix c:\mingw-simics\bin\../lib/gcc/x86_64-w64-mingw32/4.5.3/ blah.h -quiet 
-dumpbase blah.h -mtune=generic -march=x86-64 -auxbase blah -version -o 
C:\Users\davidsj2\AppData\Local\Temp\ccHhJall.s --output-pch=blah.h.gch
GNU C (GCC) version 4.5.3 20110207 (prerelease) (x86_64-w64-mingw32)
        compiled by GNU C version 4.4.5 20101001 (release) [svn/rev.164871 - 
mingw-w64/oz], GMP version 5.0.1, MPFR version 2.4.2, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory 
"c:/buildbot/mingw-w64/mingw32/mingw-x86-x86_64/build/build/rootc:/buildbot/mingw-w64/mingw32/mingw-x86-x86_64/build/build/root/include"
ignoring duplicate directory 
"c:/mingw-simics/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/4.5.3/include"
ignoring duplicate directory 
"c:/mingw-simics/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/4.5.3/include-fixed"
ignoring nonexistent directory 
"c:/buildbot/mingw-w64/mingw32/mingw-x86-x86_64/build/build/root/mingw/include"
#include "..." search starts here:
#include <...> search starts here:
 c:\mingw-simics\bin\../lib/gcc/x86_64-w64-mingw32/4.5.3/include
 c:\mingw-simics\bin\../lib/gcc/x86_64-w64-mingw32/4.5.3/include-fixed
 c:/mingw-simics/lib/gcc/../../x86_64-w64-mingw32/include
End of search list.
GNU C (GCC) version 4.5.3 20110207 (prerelease) (x86_64-w64-mingw32)
        compiled by GNU C version 4.4.5 20101001 (release) [svn/rev.164871 - 
mingw-w64/oz], GMP version 5.0.1, MPFR version 2.4.2, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: f9bb1de16e470c6a7ef97efdf74442a8


=====================================All paths have a 
backslash========================================

c:\users\davidsj2>c:\MinGW.47\bin\gcc -v blah.h
Using built-in specs.
COLLECT_GCC=c:\MinGW.47\bin\gcc
COLLECT_LTO_WRAPPER=c:/mingw.47/bin/../libexec/gcc/x86_64-w64-mingw32/4.7.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../../../build/gcc/src/configure --target=x86_64-w64-mingw32 
--prefix=/c/bb/vista64-mingw32/mingw-x86-x86_64/build/build/root 
--with-sysroot=/c/bb/vista64-mingw32/mingw-x86-x86_64/build/build/root 
--enable-languages=all,obj-c++ --enable-fully-dynamic-string --disable-multilib
Thread model: win32
gcc version 4.7.0 20111220 (experimental) (GCC)
COLLECT_GCC_OPTIONS='-v' '-mtune=generic' '-march=x86-64'
 c:/mingw.47/bin/../libexec/gcc/x86_64-w64-mingw32/4.7.0/cc1.exe -quiet -v 
-iprefix c:\mingw.47\bin\../lib/gcc/x86_64-w64-mingw32/4.7.0/ -U_REENTRANT 
blah.h -quiet -dumpbase blah.h -mtune=generic -march=x86-64 -auxbase blah 
-version -o C:\Users\davidsj2\AppData\Local\Temp\cc8prvY3.s 
--output-pch=blah.h.gch
GNU C (GCC) version 4.7.0 20111220 (experimental) (x86_64-w64-mingw32)
        compiled by GNU C version 4.5.2, GMP version 5.0.1, MPFR version 2.4.2, 
MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
ignoring duplicate directory 
"c:/mingw.47/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/4.7.0/include"
ignoring nonexistent directory 
"c:/bb/vista64-mingw32/mingw-x86-x86_64/build/build/rootc:/bb/vista64-mingw32/mingw-x86-x86_64/build/build/root/lib/gcc/x86_64-w64-mingw32/4.7.0/../../../../include"
ignoring duplicate directory 
"c:/mingw.47/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/4.7.0/include-fixed"
ignoring duplicate directory 
"c:/mingw.47/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/4.7.0/../../../../x86_64-w64-mingw32/include"
ignoring nonexistent directory 
"c:/bb/vista64-mingw32/mingw-x86-x86_64/build/build/rootc:/mingw/include"
#include "..." search starts here:
#include <...> search starts here:
 c:\mingw.47\bin\../lib/gcc/x86_64-w64-mingw32/4.7.0/include
 c:\mingw.47\bin\../lib/gcc/x86_64-w64-mingw32/4.7.0/include-fixed
 
c:\mingw.47\bin\../lib/gcc/x86_64-w64-mingw32/4.7.0/../../../../x86_64-w64-mingw32/include
End of search list.

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to