From: Arlindo da S. <da...@al...> - 2008-08-21 00:19:07
Attachments:
darwin_universal.sh
|
Jennifer, I just made my first Mac universal build: http://opengrads.org/devel/grads2/grads-2.0.a3.oga.1-bin-universal-apple-darwin9.4.0.tar.gz This was made on Mac OS X 10.5.4 (Leopard) on an intel Mac using cross-compilation; see the attached script, it might work with your build. No changes were made to the build scripts. I tried these on an old PPC Mac running Tigger but it could not find some of the X libraries, more likely a Leopard/Tigger issue than related to the universal binaries. BTW, which version of Mac OS X do you use for your builds? Arlindo -- Arlindo da Silva da...@al... |
From: Jennifer A. <jm...@co...> - 2008-08-21 14:51:17
|
I am running 10.4 on both of my macs -- darwin 8.11.1 (intel) and 8.11.0 (powerpc). Upgrading would be a gigantic nuisance for me (was bad enough to bring the powerpc up to 10.4) and I've heard that X11 on 10.5 is kind of flaky. Is a "universal" build big- or little-endian? Jennifer haven't upgraded to 10.5 yet because I heard X11 is flaky and it's a huge pain to reinstall ever On Aug 20, 2008, at 8:19 PM, Arlindo da Silva wrote: > Jennifer, > > I just made my first Mac universal build: > > http://opengrads.org/devel/grads2/grads-2.0.a3.oga.1-bin- > universal-apple-darwin9.4.0.tar.gz > > This was made on Mac OS X 10.5.4 (Leopard) on an intel Mac using > cross-compilation; see the attached script, it might work with your > build. No changes were made to the build scripts. I tried these on an > old PPC Mac running Tigger but it could not find some of the X > libraries, more likely a Leopard/Tigger issue than related to the > universal binaries. > > BTW, which version of Mac OS X do you use for your builds? > > Arlindo > > -- > Arlindo da Silva > da...@al...<darwin_universal.sh>----------------------------- > -------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Opengrads-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opengrads-devel -- Jennifer M. Adams IGES/COLA 4041 Powder Mill Road, Suite 302 Calverton, MD 20705 jm...@co... |
From: Arlindo da S. <da...@al...> - 2008-08-21 18:48:54
|
On Thu, Aug 21, 2008 at 10:51 AM, Jennifer Adams <jm...@co...> wrote: > I am running 10.4 on both of my macs -- darwin 8.11.1 (intel) and 8.11.0 > (powerpc). Which version of gcc/Xcode are you running? > Upgrading would be a gigantic nuisance for me (was bad enough to > bring the powerpc up to 10.4) and I've heard that X11 on 10.5 is kind of > flaky. Leopard came with my new laptop. The X11 is quite stable. However, what I heard is that upgrading from 10.4 leads to a flaky X11. I just located a box with Mac OS X 10.4 and did an universal build on it: http://opengrads.org/devel/grads2/grads-2.0.a3.oga.1-bin-universal-apple-darwin8.11.1.tar.gz > Is a "universal" build big- or little-endian? Both: if you are on ppc it is big-endian, on i386 it is little-endian. "Universal binaries" basically bundles the 2 executables (ppc and i386) on a single fat universal binary and the OS is smart enough to pick up the correct one at run time. If you have 2 pre-compiled grads executables, say i386/grads and ppc/grads, the properly named "lipo" utility makes a fat "universal binary": % lipo -create -o grads i386/grads ppc/grads So, you only have a set of binaries to distribute. Besides, with the script I sent you you can build both ppc and i386 binaries on the same machine. (Make sure to have supplibs for both architectures on the build machine, and adjust the ???_SUPPLIB variables at the top of the script.) So, you do not even need to have a PPC machine around to build ppc binaries, just for testing. Do you think you could test the 10.4 universal binaries on your intel boxes? Arlindo -- Arlindo da Silva da...@al... |