[openbeos] Re: GCC4 -iquote

  • From: Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Fri, 22 Dec 2006 18:28:29 +0100

On 2006-12-21 at 19:08:44 [+0100], Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> 
wrote:
> 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.

That should work fine.

> At least
> building the driver from that subdirectory worked nicely.

Huh, what driver?

Anyway, I've finally come to download openSUSE 10.2 and will install it and 
test the Haiku build in the next few days.

CU, Ingo

Other related posts: