• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Does gcc 3.3 work in XCode on Intel [SOLVED]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Does gcc 3.3 work in XCode on Intel? (From: Hugh Sontag <email@hidden>)
 >Re: Does gcc 3.3 work in XCode on Intel? (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: Quick way to find files with additional compiler flags
  • Next by Date: Re: Interface Builder: Images Tab - where do they come from
  • Previous by thread: Re: Does gcc 3.3 work in XCode on Intel?
  • Next by thread: debugging bundles
  • Index(es):
    • Date
    • Thread