• 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: linking OpenGL (was :still having problems with cross development)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: linking OpenGL (was :still having problems with cross development)


  • Subject: Re: linking OpenGL (was :still having problems with cross development)
  • From: Monroe Williams <email@hidden>
  • Date: Wed, 29 Oct 2003 14:06:02 -0800

On Oct 29, 2003, at 1:40 PM, Thomas Dibble wrote:

On Oct 29, 2003, at 11:18 AM, Monroe Williams wrote:
This was my understanding as well, but the fact that there doesn't seem to be a way to tell XCode which version of GCC to use makes me wonder if I'm confused on this point. Can one really build to the 10.1 SDK with the latest version of GCC 3.3?

You can tell XCode what compiler to use (for native projects) by going to the <Target>/Get Info, selecting the "Rules" tab, and changing the selection under "C Files" from gcc 3.3 to gcc 3.1 or whatever else.

AHA!

Thank you. That's the setting I hadn't found yet. Makes sense now that I know where it is. :)

That having been said, as far as I can tell the 10.1 SDK does not include any gcc 3.3 header files, so, no, you can not build anything to run on 10.1 using gcc 3.3 in XCode. For 10.1 compatibility it appears you need to fall back to gcc 3.1 at the highest. I may be wrong on this, but I've met with nothing but abject failure trying to build the simplest of 10.1-compatible projects using XCode/gcc 3.3, and the missing includes and libc++ seem to be the key there.

Not at all surprising. I don't remember all the relevant dates, but IIRC gcc 3.3 didn't even hit beta until well after 10.2 was released. Assuming the contents of the 10.1.x SDK are actually what shipped with 10.1 (which they really should be), there's little chance of the complier-specific parts matching up with 3.3. Might even have to go back to gcc 2.95.2 for some of the 10.1 specifics...


-- monroe
------------------------------------------------------------------------
Monroe Williams                                  email@hidden
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: linking OpenGL (was :still having problems with cross develo pment)
      • From: Thane Norton <email@hidden>
References: 
 >Re: still having problems with cross development (From: Chris Espinosa <email@hidden>)
 >Re: still having problems with cross development (From: Monroe Williams <email@hidden>)
 >Re: linking OpenGL (was :still having problems with cross development) (From: joshua portway <email@hidden>)
 >Re: linking OpenGL (was :still having problems with cross development) (From: Monroe Williams <email@hidden>)
 >Re: linking OpenGL (was :still having problems with cross development) (From: Thomas Dibble <email@hidden>)

  • Prev by Date: Availability macros broken?
  • Next by Date: Want gutter always off
  • Previous by thread: Re: linking OpenGL (was :still having problems with cross development)
  • Next by thread: Re: linking OpenGL (was :still having problems with cross develo pment)
  • Index(es):
    • Date
    • Thread