gcc33 version 3.3.6 for Mac OS X 10.5 Leopard
Saturday the 17th of May, 2008

    gcc33  most recent diff


      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
      Google
      Web Darwinports.com



      # $Id: Portfile 30184 2007-10-22 19:32:09Z mww macports.org $

      PortSystem 1.0

      Name: gcc33
      Version: 3.3.6
      Platform: darwin
      Category: lang
      Maintainers: mww
      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=-dp-${major} --with-gxx-include-dir=${prefix}/include/gcc-${major}/c++/

      build.target bootstrap-lean

      post-destroot {
      cd ${destroot}${prefix}/share
      file delete -force info man/man7
      foreach manpage {cpp gcov} {
      file rename man/man1/${manpage}.1 man/man1/${manpage}-dp-${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.check 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



    image test