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. Excellent.... by Profane+Motherfucker · · Score: 2, Interesting

    Now the bitching can be more evenly distributed between the Mandrake 9 beta thread and this. It's good to see the potential for a little load balancing.

    Oh, but it will break everything! GCC is evil, why does GNU have to do this?

  2. Default compiler on the Mac? by dfgdfgdfg · · Score: 2, Interesting

    Can anyone comment on whether Gcc is the default compiler on the Mac? Is the Mac kernel compiled with Gcc? I think BSD also uses Gcc. Does that make Gcc the most used compiler on all systems?

    --
    -- 1.e4 c6 2.d4 d5 3.Sc3 de4: 4.Se4: Sd7 5.Sg5 Sgf6 6.Ld3 e6 7.S1f3 h6 8.Se6:
    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.