[gccsdk] [GCCSDK commit] jjvdgeer - r4136 - trunk/autobuilder/develop/vala

Peter Naulls peter at chocky.org
Mon Sep 28 16:36:38 PDT 2009


Jan-Jaap van der Geer wrote:
> On Mon, 2009-09-28 at 13:00 -0700, Peter Naulls wrote:
>> Right now, the Vala build assumes a native installed valac, which is
>> used during the build.  This is perhaps ok, but it might make more sense
>> to bootstrap it (since it's not something people would normally have) -
>> that is, do a native build from the sources, save the binary, then the
>> cross build.   We do similarly for the orbit2 build, and a couple of
>> other things.
> 
> That sounds like a good idea. I experimented a bit with this, I
> basically copied that what was done in orbit2. But as the vala sources
> are patched, trying to build the native valac now also requires valac,
> so I need to compile the code *before* the RISC OS patches are applied.
> How can I accomplish that?

You need to adjust your patches so they have #if __riscos__ wrappers.
You would need to do that anyway, if you were planning to submit
upstream.  Then you can use the same source for the native and
cross builds.





More information about the gcc mailing list