Slashdot Mirror


gcc3 Available for Mac OS X

drc writes in that MacSlash notes that, according to the Apple gcc3 list, "The gcc3 project has been 'closed' for Jaguar, meaning that at this point there is almost no chance that there will be any further changes to the compiler that ships with Jaguar." If you really want to play, break out CVS and get to it.

5 of 24 comments (clear)

  1. Re:Default compiler on the Mac? by norwoodites · · Score: 3, Interesting

    Yes it is the most used compiler, because it is the most portable. You can use it on Solaris, HPUX, AIX, Linux, all the BSD's, Hurd, Mac OS X (Darwin), and Cgywin, and also VMS, yes VMS (don't know if it usable). You can use it to cross compile to a lot of different processors. You even can make a gcc on a cross compiler. It compiles to rs6000(ppc and power), x86, ia64, x68-64, criss, alpha, sparc, aparc64 and others.

    It can compile C, C++, Objective-C, Ada, and on some Java®.

    PS this message use UTF-8.

  2. Re:Default compiler on the Mac? by Matthias+Wiesmann · · Score: 3, Interesting
    The gcc compiler is shipped by default on Mac OS X and is also the compiler of Apple's IDE: project builder. Darwin is usually compiled with gcc. So I suppose that you could say that gcc is the default compiler of OS X.

    I don't know what part of the OS X binary are actually compiled with gcc, probably a large majority. It seems that the Finder (OS X's graphical shell) is built using the powerplant framework, and therefore probably compiled using metrowerk's compiler.

    I also heard some rumors that parts of the kernel where compiled using metrowerk's compiler because it does a better job of optimising PPC code, then again this is a rumor.

  3. Re:Default compiler on the Mac? by norwoodites · · Score: 3, Interesting

    No the finder is compiled with gcc, but I the only prove I have is that the name mangling in the Finder is that of gcc 2.95.2 which just proves that the name mangling is the same.

    PowerPlant Framework has been compiled with gcc by Apple also. None of the kernel is compiled with metrowerk's because the kernel uses gcc extensions and can be compiled for x86.

  4. first OS based on gcc 3? by Anonymous Coward · · Score: 4, Insightful

    AFAIK, all the major Linux and BSD distributions are still built using 2.9x versions. I've got to give credit to Apple for being the first major vendor out the door with a gcc3 based distribution. It's about time somebody started pushing the 3.x series forward. As a C++ developer, I've grown increasingly tired of dealing with the bugs, limitations and obsolete libraries of the various 2.9x trees.

  5. Re:Way Out Of Date by whee · · Score: 5, Informative

    It's not way out of date. The GCC delivered in the April developer tools is version 1041, based on gcc version 3.1 20020105 (experimental). This is version 1151; Quite a bit newer, and also signifies the code freeze for the version that will ship with Jaguar.