Slashdot Mirror


GCC 3.3 Update for Mac OS X Available

snowtigger writes "The August 2003 GCC updater includes the new GCC 3.3 compiler in addition to other updates that will allow development of G5 optimized code with the December 2002 Mac OS X Developer Tools. This update is available to all ADC members from the Download Software area of the ADC web site (free registration required). It will be interesting to see what Steve Jobs will present in Paris tomorrow; is XCode ready?"

13 of 67 comments (clear)

  1. We'll find out in a couple of hours. by so1omon · · Score: 4, Informative

    The keynote starts at 1 AM Pacific time...

    --
    i'm the jedidiahmarkfoster your parents warned you about
  2. CHUD by Pathwalker · · Score: 4, Informative

    The GCC update has been out for a while, but it looks like last week Apple updated CHUD (the Computer Hardware Understanding Development toolkit) to version 3.0.

    It lets you tweak configuration registers in almost all parts of the system, gather and graph lots of profile information (instruction mix, cache stalls, etc...) from programs, and lots of other cool things.

    1. Re:CHUD by andrewski · · Score: 5, Funny

      Apple's kind of like the aunt who smoked a J with you when you were 17. They're cool like that.

  3. Re:Binary compatibility by Lally+Singh · · Score: 5, Informative

    The ABI is Mach-O or CFM. They both work on OS X. GCC uses it, Codewarrior uses it, the IBM XL compilers use it. Codewarrior also beats gcc in speed & quality of code like an abusive sibling*. Donno about the IBM compilers, but I assume they provide an even more severe beating.

    * That was going to be a much more offensive analogy...

    --
    Care about electronic freedom? Consider donating to the EFF!
  4. Fink by therevolution · · Score: 5, Informative

    Fink users: see this annoucement from the Fink developers regarding GCC 3.3 . It is probably a good idea to hold off on installing 3.3 until they add support for it.

    1. Re:Fink by jweatherley · · Score: 4, Informative

      The old compilers are still there. Take a look in /usr/bin and you will see them:

      bash-2.05a$ ls /usr/bin/gc*
      /usr/bin/gcc /usr/bin/gcc2 /usr/bin/gcc-3.3
      /usr/bin/gcc3

      gcc is a symlink to whatever compliler you are currently using - so to go back to v3.1 just point it to gcc3. Similar stuff applies for g++.

      Also Project Builder doesn't know about gcc3.3 without changing some of the compile options and will default to gcc2.95 so it is important to RTFM before updating!

      --

      --
      Reverse outsourcing: it's the future
    2. Re:Fink by transient · · Score: 4, Informative
      Don't go messing with those symlinks unless you know what you're doing. Apple provides a tool called gcc_select for this purpose. If you run "gcc_select -n 2" it will show you what commands it runs to select GCC 2, and there are 60 of them. Not something you want to do by hand.

      There's no man page for gcc_select (not on my Mac anyway) but "gcc_select -h" will get you some brief help.

      --

      irb(main):001:0>
  5. IBM Compilers by Anonymous Coward · · Score: 5, Interesting

    IBM has also released their own cc compiler's for use with the g5 which are supposed to be faster than gcc. They even give instructions as to how to incorporate into project builder and Xcode if I remember. Anyone tried this?

    1. Re:IBM Compilers by proj_2501 · · Score: 4, Informative

      anyone looking for the IBM XL C and XL C++ compiler beta can look here

      i doubt this will remain free. better snag it now!

  6. Re:C# in X-code by stu_coates · · Score: 4, Funny

    I'm similarly disgusted at the omission of BrainFuck... come on Apple, what are you playing at? We developers demand support for more languages.

  7. Fink does not like the 3.3 compiler... by Domini · · Score: 4, Informative

    From the Fink site:


    2003-06-26: Developer Tools Update.

    Quick Summary: DO NOT INSTALL THIS UPDATE.

    Apple has released a patch to the December 2002 Developer Tools which includes gcc 3.3, their new compiler.

    Fink does not yet support compiling with gcc 3.3. In addition, it is important not to "mix and match" between compilers: all C++ code in fink packages needs to be compiled with the same compiler.

    For this reason, the Fink team recommends that if you update your Developer Tools with the new patch, you should be careful to run sudo gcc_select 3 prior to any "fink build" or "fink install" commands.

  8. Yes. by Anonymous Coward · · Score: 4, Informative

    It works as advertised.

    It's _very_ fast too.

  9. Re:Binary compatibility by BlackFingolfin · · Score: 4, Informative
    Sorry to say but you are talking complete nonsense.

    First off, this was about the C++ ABI used by GCC, which indeed changed (again!) between GCC 3.1 and 3.3, meaning that C++ code is incompatbile between those versions.

    Next, Mach-O and CFM are binary executable formats, which is a whole other story. Besides, you make it sound as if they were the same, when in fact they are not. They are two very different formats. CFM is the one used traditonally, the only one supported by classic MacOS. Max OS X also supports it, and in fact if you want your Carbon programs to run both on OS 9 and OS X, you have to supply them in CFM. However, GCC is *not* able of outputting CFM. The only C/C++ compiler running on OS X which support this is (AFAIK) MetroWerks CodeWarrior.

    Mach-O is the binary format of choice for anything else which only runs on OS X, and it's the only format GCC and the IBM XL compiler support (on OS X, that is).