On Sat, Jul 18, 2009 at 14:24, Yue Wang wrote:
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;
I'm sorry, I didn't read careful enough. I thought we were talking about intel vs. ppc. Adding those flags to build.shu nconditionally would mean that anyone trying to compile LuaTeX on ppc won't be able to do so for his own platform, so such flags would need to go to a separate section (if user supplies some special flag to build in such mode). We definitely need to start thinking about 64-bit support, but not unconditionally. Apparently 10.6 won't support ppc any more and Yue says that 64-bit version of luatex runs slower and consumes more memory (+ being twice as big). We should either discuss it a bit or wait until the first user gets bitten by the issue. After all we also depend on TL binaries that are most probably not 64-bit. Mojca