Mac x86 porting

Although I don’t have the x86 development system, I’ve been using XCode 2.1. For one of my projects, I was able to convert to x86 in less than 15 minutes. I simply opened the project in XCode 2.1, selected the 10.4 universal SDK, chose intel & ppc architectures, and made sure it was using GCC 4.0. I got lots of errors because GCC 4.0 is a lot more fussy about pointer conversions, so I temporarily eliminated them with the option “Treat nonconformant code errors as warnings”.

It compiled and when I examine the binary, it’s identified as ‘Mach-O fat file with 2 architectures’. Of course I can’t actually test it on an x86 machine. I also haven’t attempted to deal with any endian issues, since the application deals with binary data.

This is a pretty good indication that developing for the Intel macs will be painless.

2 thoughts on “Mac x86 porting”

  1. hey mike, i'm really a big fan of your header tweak but aside from a regular kubrick template I also added another template on I don't know how to modify it with your directions, because I couldn't really get it to work with a regular kubrick. I'm pretty sure its no sweat for you since you are the one who created the tweak. I know how to use javascript to do the same effect, but I'm just an amateur programmer. Do you think you can take a look at my blog? I can put an image on the place of the kubrick by changing it to #headerimg { background: url('😉 using one of the images you have . I just don't know how to regenerate it everytime you go to the site.

    my images location are the following like u suggested.

    Can you please tell me what codes I need to add!! Thanks so much..

Comments are closed.