Jason Spence ([info]jspence) wrote,
@ 2007-11-07 08:00:00
Previous Entry  Add to memories!  Tell a Friend  Next Entry
I was screwing around with the dev tools on my new Mac OS 10.5 install, and decided to build a four-architecture MACH-O binary, because why not. Hello world for 32-bit PPC is only 8k, and the four-architecture version was only 50k, which I thought wasn't too bad. The java one was a couple hundred bytes though, which I thought was kind of neat.

The man page says that the only options for Apple GCC's -arch flag are x86, ppc, and ppc64, which is bogus. To get 64-bit x86, say -arch x86_64.

I kind of want to run 64-bit 10.5 to learn more about how Apple is dealing with the usual 64-bit vs 32-bit implementation stuff, but I don't own any 64-bit macs. Maybe someone can make me an account on their box?



Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…