gcc34 version 3.4.6 for Mac OS X 10.5 Leopard
Saturday the 17th of May, 2008

    gcc34  most recent diff


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



      # $Id: Portfile 32853 2008-01-14 06:06:58Z ryandesign macports.org $

      PortSystem 1.0
      Name: gcc34
      Version: 3.4.6
      set major 3.4
      revision 1
      Description: The GNU compiler collection
      Long Description: ${description}
      Platform: darwin
      Category: lang
      Maintainers: nomaintainer

      Homepage: http://gcc.gnu.org/gcc-${major}
      master_sites gnu:/gcc/gcc-${version}

      #user_notes This port is intended to be used by other ports # requiring the features of the latest released gcc or # g++. For example, covariant returns in g++ are not # supported by the standard Apple g++-3.3, but are by # this version. Generally speaking, you'll know if you # need this. # # The libraries are moved from their standard location # so as not to conflict with the libraries installed # by the system's gcc. It is necessary below to specify # the C++ include path explicitly (using the # --with-gxx-include-dir configure argument) because # of a bug in gcc-3.4.3 that causes incorrect include # paths to be generated if the library directory is # changed.


      use_bzip2 yes
      distname gcc-${version}

      checksums md5 4a21ac777d4b5617283ce488b808da7b

      worksrcdir build

      post-extract {
      file mkdir ${worksrcpath}
      }

      # On Tiger, we have to use gcc-3.3 to build the port. Using gcc-4.0
      # (in fact building any older gcc with a newer compiler) is not a
      # supported configuration according to the developers.

      platform darwin 8 {
      patchfiles patch-darwin.h.diff
      }
      platform darwin 8 powerpc {
      configure.compiler gcc-3.3
      }

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

      build.target bootstrap-lean

      post-destroot { file delete -force ${destroot}${prefix}/share/man/man7
      file delete -force ${destroot}${prefix}/share/info
      }


    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/gcc34
      % sudo port install gcc34
      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 gcc34
      ---> Verifying checksum for gcc34
      ---> Extracting gcc34
      ---> Configuring gcc34
      ---> Building gcc34 with target all
      ---> Staging gcc34 into destroot
      ---> Installing gcc34
    - 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 gcc34 with these commands:
      %  man gcc34
      % apropos gcc34
      % which gcc34
      % locate gcc34

     Where to find more information:

    Darwin Ports



    image test