just a simple test. (works on mac os x 10.5.x, intel mac. on idea on
other platforms...)
240:luatex yue$ svn diff
Index: build.sh
===================================================================
--- build.sh (revision 2888)
+++ build.sh (working copy)
@@ -59,6 +59,11 @@
if [ `uname` = "Darwin" ] ;
then
export MACOSX_DEPLOYMENT_TARGET=10.4
+ CFLAGS="-arch x86_64 -arch i386 $CFLAGS"
+ XCFLAGS="-arch x86_64 -arch i386 $XCFLAGS"
+ CXXFLAGS="-arch x86_64 -arch i386 $CXXFLAGS"
+ LDFLAGS="-arch x86_64 -arch i386 $LDFLAGS"
+ export CFLAGS CXXFLAGS LDFLAGS XCFLAGS
fi;
B=build
@@ -165,6 +170,7 @@
--disable-shared \
--disable-largefile \
--disable-ipc \
+ --disable-dependency-tracking \
--without-mf-x-toolkit --without-x \
|| exit 1
fi
240:luatex yue$ file build/texk/web2c/luatex
build/texk/web2c/luatex: Mach-O universal binary with 2 architectures
build/texk/web2c/luatex (for architecture x86_64): Mach-O 64-bit
executable x86_64
build/texk/web2c/luatex (for architecture i386): Mach-O executable i386
240:luatex yue$
On Sat, Jul 18, 2009 at 7:40 PM, Taco Hoekwater
Yue Wang wrote:
Hi,
right.
btw, maybe we can try to build universal binaries (x86_64 + i386) for minimals on OS X...
I do not have time (nor knowledge) to figure that out myself, but patches are more than welcome, of course.
Best wishes, Taco