context team mailing list archive
-
context team
-
Mailing list archive
-
Message #00221
Re: [Dev-luatex] Luatex 0.44.0 announcement
On Tue, Oct 27, 2009 at 15:14, Arthur Reutenauer wrote:
>> My computer is still in Arnhem. If any mac addicts want to have mac
>> support in minimals before [put some random number of days here], we
>> need other volunteers.
>
> I can do that for the Mac, no problem. Just tell me how you compile
> universal binaries, I think I'm not up-to-date on this.
Take a look at the source code
(http://svn.contextgarden.net/minimals-src/build-binaries/build-binaries.sh).
It's done with lipo.
# generates universal binaries for osx
call_lipo() {
command="lipo -create $BUILDDIR/bin/osx-intel/current/$1/$2
$BUILDDIR/bin/osx-ppc/current/$1/$2 -output
$BUILDDIR/bin/osx-universal/current/$1/$2"
# display
echo "$command"
#execute
mkdir -p "$BUILDDIR/bin/osx-universal/current/$1"
svn add -q --depth=empty "$BUILDDIR/bin/osx-universal/current/$1"
do_cmd "combine intel & ppc binaries for $2" $command
svn add -q "$BUILDDIR/bin/osx-universal/current/$1/$2"
}
We don't use those binaries yet, so maybe we are never going to use
them at all (you may skip that step, just make sure that there will be
binaries for intel and ppc, possibly working on ... tiger?). Or make
it work on leopard and wait for the first one to complain :)
Mojca
References