[openbeos] Re: GCC4 -iquote

Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx> wrote:
> On 2006-12-17 at 14:26:49 [+0100], Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> 
> > wrote:
> > I'm not sure what changed, but I recently installed openSUSE 10.2 
> > on
> > one of my systems for the GCC 4 x86 Haiku build, and now I see a
> > warning that tells me I shouldn't use "-I-" but "-iquote" instead -
> > this is quite annoying, but I can't remember having seen this 
> > before;
> > is that something new? Or is it even caused by the build 
> > environment? I
> > did not rebuild the compiler after updating from SuSE 9.1 to 10.2,
> > though.
> > In any case, we could update our build system to use -iquote when 
> > GCC4
> > is used, right? :-)
> It actually does support this. The rule SetIncludePropertiesVariables 
> (defined in HelperRules) takes care of it. It is invoked for "HAIKU" 
> and 
> "HOST" from BuildSetup. I suspect something goes wrong with analyzing 
> the 
> GCC version on your platform. The rule responsible 
> (FAnalyzeGCCVersion) is 
> just above SetIncludePropertiesVariables.

I probably build the thing from the wrong location; I used the 
configure script in a subdirectory for the GCC4 build. At least 
building the driver from that subdirectory worked nicely.

Bye,
   Axel.


Other related posts: