On Fri, Oct 30, 2009 at 21:04, Yue Wang wrote:
Hey, how did you install your Snow Leopard.
It was preinstalled. But I'm looking for a screw-driver to replace the hard drive, so I'll have to install it anyway.
Default installation didn't install Rosetta.
I know about Rosetta, but I also thought that if we figure out how to "properly" cross-compile, it might be a bit easier to also compile 64-bit binaries on 32-bit machines etc.
Xcode support the past two versions of OS X. for example, Xcode in 10.5 should support 10.4 and 10.5, and 10.3 in optional install.
I didn't know that. I only had support for 10.4 on 10.5, so I was surprised to learn that 10.4 was still available.
But in fact that is not a big problem, these backward supports are usually for Cocoa APIs (For example, each version of OS X deprecates a lot of Cocoa APIs, but you are still able to compile the program and run them in old versions since for most of the time they provide binary compatibility). For traditional ANSI or POSIX C programs like LuaTeX, I think it won't be a problem.
I remember that I compiled TeX binaries on Leopard and people started complaining that they were not able to use them on Tiger. Do you have any idea how to cross-compile XeTeX (with export MACOSX_DEPLOYMENT_TARGET=10.4)?
3.) We have never really started to use universal binaries, and maybe there's no need to do so. Some people were enthusiastic about universal binaries, but the truth is that Apple already dropped all the ppc stuff out of their OS and now makes i386+x86_64 fat binaries.
I think either way is ok. fat binaries are good, but they are fat. I can compile ppc+i386+x86_64 binaries without any problems.
I have already committed the luatex for i386. Feel free to commit the binary for ppc and 64-bit (that need a new directory structure first), but make sure to use export MACOSX_DEPLOYMENT_TARGET=10.4 The building script needs to be adapted anyway. (Some scripts in SVN have been modified already, but not all of them yet.) Mojca