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...
|