Re: [gtk-osx-users] Building on PPC fails
- From: Steffen Gutmann <muibase yahoo com>
- To: John Ralls <jralls ceridwen us>
- Cc: "gtk-osx-users-list gnome org" <gtk-osx-users-list gnome org>
- Subject: Re: [gtk-osx-users] Building on PPC fails
- Date: Mon, 21 Jan 2013 10:08:30 -0800 (PST)
Hi John!
> This section of jhbuildrc-gtk-osx (which gets installed as .jhbuildrc) applies:
> #Defining ARCHFLAGS globally messes up waf, so we need to define
> #it here for our two perl modules:
> if architectures != ['ppc']:
> module_extra_env.update(
> {"perl-xml-simple":{"ARCHFLAGS":"-arch i386
> -arch x86_64"},
> "perl-xml-parser":{"ARCHFLAGS":"-arch i386
> -arch x86_64"}})
> I wrote that not thinking about universal builds. Try changing the condition to
> if not "ppc" in architectures:
Yes, that change made this part (building for ppc/i386 on a ppc) work!
> But even better would be to construct ARCHFLAGS with something like "-arch
> " + "-arch ".join(architectures).
>
> That said, universal builds aren't really supported. You'll likely have
> to patch the universal modulesets and setup_universal() in jhbuildrc-gtk-osx to
> get everything working. If you succeed, please do provide your patches.
I can report back the changes once I have it building and running.
Best regards,
Steffen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]