Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

xcode produces x86_64, i386 and ppc binaries?!?

Hello,

Just having upgraded to 10.6.1 and xcode 3.2, I'm a bit surprised that a new "hello world" c project produces not only x86_64 :
luna:~/Documents/xcode/test-c/build/Release> file test-c
test-c: Mach-O universal binary with 3 architectures
test-c (for architecture x86_64): Mach-O 64-bit executable x86_64
test-c (for architecture i386): Mach-O executable i386
test-c (for architecture ppc7400): Mach-O executable ppc

This even while I have defined the target as 10.6 | Release | x86_64.

Macbook pro/2.8/15inch, Mac OS X (10.6.1)

Posted on Sep 15, 2009 12:23 AM

Reply
Question marked as Best reply

Posted on Sep 15, 2009 1:02 AM

Make sure that the following selection remains unaltered ( as '-' ) or is checked.
Project-> Edit Project Settings-> Build-> Build Active Architecture Only

The target should then be properly limited to 'Mach-O 64-bit executable x86_64'
1 reply

xcode produces x86_64, i386 and ppc binaries?!?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.