Benches macOS

3

FSF GCC vs. Apple GCC

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Hello. I'm new to the Apple world (just got my first mac a couple days ago) and I'm trying to make the transition between gentoo and darwin. I picked up macports and have noticed that there are two versions of gcc available--apple-gcc4x and standard gcc4x. I was wondering if someone could tell me whether or not there's a difference between the two.

Does apple's version implement something beyond what is normally included with the standard GCC (i.e. 'extending' standards, non-standard behavior, etc.) or is it just a supported build guaranteed by Apple? If it is more than just a supported build, is there any particular reason why I couldn't (or shouldn't) bootstrap the standard GCC from the binary provided with xcode?

Thanks in advance for any help.

3 replies

Sign in or join Beachball Help to reply.

  1. 0

    KawaiGardiner

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    The Apple GCC is supported by Apple and includes Objective-C++ and other additions that GNU are refusing to merge into gcc. IIRC 4.2 of GCC is the latest available which is part of Xcode 3.1.3

  2. 0

    bfarman

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I think 4.4 is the latest stable, but I think that answers my question. Thanks.

  3. 0

    KawaiGardiner

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Incorrect, the latest version supported and provided by Apple is GCC-4.2. GCC-4.4 is not supported or provided by Apple; there is a huge difference given that my post was talking about a supported and distributed version by Apple - not by third parties.