Gcc33 version 3.3.6 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    version 3.3.6

      View the most recent changes for the gcc33 port at: gcc33.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for gcc33.
      The raw portfile for gcc33 3.3.6 is located here:
      http://gcc33.darwinports.com/dports/lang/gcc33/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/gcc33


      The gcc33 Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0

      Name: gcc33
      Version: 3.3.6
      Revision: 1
      Platform: darwin
      Category: lang
      Maintainers: mww
      license GPLv2
      Description: The GNU compiler collection
      Long Description: The GNU compiler collection, including front ends for C, C++, Objective-C and Fortran 77.

      Homepage: http://gcc.gnu.org/gcc-3.3/
      Master Sites: gnu:/gcc/gcc-${version}
      set dcore gcc-core-${version}.tar.bz2
      set dg77 gcc-g77-${version}.tar.bz2
      set dcxx gcc-g++-${version}.tar.bz2
      set dobjc gcc-objc-${version}.tar.bz2
      distfiles ${dcore} ${dg77} ${dcxx} ${dcxx} ${dobjc}

      Checksums: ${dcore} md5 18c52e6fb8966b7700665dca289d077f ${dg77} md5 3752faab670bcc43b1ad8d5ef9ed8ed2 ${dcxx} md5 6b3d00b8d079805be1b895f7f6ce47a0 ${dobjc} md5 9af803dc2f7845c5119fa0ec69228b1e

      use_bzip2 yes

      set major 3.3

      worksrcdir build

      post-extract {
      file mkdir ${worksrcpath}
      }

      configure.cmd ${workpath}/gcc-${version}/configure
      configure.args --enable-languages=c,c++,f77,objc --libdir=${prefix}/lib/gcc-${major} --infodir=${prefix}/share/info --mandir=${prefix}/share/man --with-local-prefix=${prefix} --with-system-zlib --disable-nls --program-suffix=-mp-${major} --with-gxx-include-dir=${prefix}/include/gcc-${major}/c++/

      build.target bootstrap-lean

      post-destroot {
      file delete -force ${destroot}${prefix}/share/info ${destroot}${prefix}/share/man/man7
      foreach manpage {cpp gcov} {
      file rename ${destroot}${prefix}/share/man/man1/${manpage}.1 ${destroot}${prefix}/share/man/man1/${manpage}-mp-${major}.1
      }
      }

      platform darwin 8 powerpc {
      configure.compiler gcc-3.3
      }

      platform darwin 7 {
      depends_build port:odcctools
      patch {
      reinplace "s|/usr/bin/libtool|${prefix}/bin/odlibtool|g" ${workpath}/gcc-${version}/gcc/config/darwin.h
      }
      configure.args-append --with-as=${prefix}/bin/odas --with-ld=${prefix}/bin/odld --with-ar=${prefix}/bin/odar
      }

      livecheck.type regex
      livecheck.url ${homepage}
      livecheck.regex GCC (3\\.3\\.\[0-9\])


    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/gcc33
      % sudo port install gcc33
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching gcc33
      ---> Verifying checksum for gcc33
      ---> Extracting gcc33
      ---> Configuring gcc33
      ---> Building gcc33 with target all
      ---> Staging gcc33 into destroot
      ---> Installing gcc33
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using gcc33 with these commands:
      %  man gcc33
      % apropos gcc33
      % which gcc33
      % locate gcc33

     Where to find more information:

    Darwin Ports



    Lightbox this page.