Re: Does gcc 3.3 work in XCode on Intel [SOLVED]
Re: Does gcc 3.3 work in XCode on Intel [SOLVED]
- Subject: Re: Does gcc 3.3 work in XCode on Intel [SOLVED]
- From: Hugh Sontag <email@hidden>
- Date: Wed, 19 Apr 2006 14:30:26 -0500
OK, I know what I did.
The project in question was set up to always use gcc 3.3 by setting
the compiler in the "Rules" pane of the target info to gcc 3.3.
The Architecture was set to ppc *and* i386.
This causes a problem when attempting to compile the code for Intel,
because gcc 3.3 doesn't generate Intel binaries.
If one uses the special settings that cause gcc 3.3 to be used for
ppc compilation and 4.0 to be used for Intel compilation, instead of
setting gcc 3.3 on the "Rules" pane, it compiles OK for both PPC and
Intel.
Hugh Sontag
On Apr 19, 2006, at 8:30 AM, Hugh Sontag wrote:
Can I use gcc 3.3 to build using XCode on an Intel Mac?
I used the "gcc3.3.pkg" from the "xcode_2.2.1_8g1165_018213632.dmg
" disk image to install it on my Intel iMac, but when I attempt to
build a project using gcc 3.3, I get the following error:
gcc-3.3: installation problem, cannot exec `cc1': No such file or directory
The same XCode project builds fine on my G4 PowerBook, which is
presently on its way to Apple for a hard disk transplant.
There is no Apple gcc 3.3 compiler that produces Intel code. On an
Intel-based Mac you can produce PowerPC code using gcc 3.3, but not
Intel code. To build a Universal application you must use gcc 4.0
for the Intel side.
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden