mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Qt 4.7 (help wanted)


From: Volker Grabsch
Subject: Re: [Mingw-cross-env-list] Qt 4.7 (help wanted)
Date: Tue, 1 Jun 2010 11:55:24 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Mark Brand <address@hidden> schrieb:
> This looks like an important clue. I compared the system include paths  
> of gcc in mingw-cross-env with  those from the

> Nokia/Qt's MinGW-gcc440_1.zip. [...]
[...]
> #include <...> search starts here:
>  
> z:\home\brand\projects\junk2\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include
>  z:\home\brand\projects\junk2\mingw\bin\../lib/gcc/mingw32/4.4.0/include
>  z:\home\brand\projects\junk2\mingw\bin\../lib/gcc/mingw32/4.4.0/include-fixed
>  
> z:\home\brand\projects\junk2\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../mingw32/include
> End of search list.
[...]
> gcc-4.50 mingw-cross-env
> i686-pc-mingw32-cpp -v < /dev/null
> ....
> #include <...> search starts here:
>  
> /home/brand/projects/mingw-cross-env.dev/qt47/usr/lib/gcc/i686-pc-mingw32/4.5.0/include
>  
> /home/brand/projects/mingw-cross-env.dev/qt47/usr/lib/gcc/i686-pc-mingw32/4.5.0/include-fixed
>  
> /home/brand/projects/mingw-cross-env.dev/qt47/usr/lib/gcc/i686-pc-mingw32/4.5.0/../../../../i686-pc-mingw32/include
> End of search list.
> ...

How can we influence that search order? Is it possible to pass
some corresponding ./configure options to GCC in src/gcc.mk?

How did the Qt people do that? Did they patch GCC to get that
behaviour? Does the GCC contain some special handling in the
paths when it is built for mingw? If so, why don't _we_ trigger
that special handling, too?


Greets,
Volker

-- 
Volker Grabsch
---<<(())>>---
Administrator
NotJustHosting GbR



reply via email to

[Prev in Thread] Current Thread [Next in Thread]