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.
_______________________________________________
GCCSDK mailing list [email protected]
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK