Download and Install mipsel-linux-gcc34 version 3.4.6 on Mac OS X
Thursday the 24th of July, 2008

    mipsel-linux-gcc34  most recent diff


      View the most recent changes for the mipsel-linux-gcc34 port at: mipsel-linux-gcc34.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for mipsel-linux-gcc34.
      The raw portfile for mipsel-linux-gcc34 3.4.6 is located here:
      http://mipsel-linux-gcc34.darwinports.com/dports/cross/mipsel-linux-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/mipsel-linux-gcc34
      Google
      Web Darwinports.com



      # $Id: Portfile 33297 2008-01-23 09:32:47Z ryandesign macports.org $

      PortSystem 1.0

      Name: mipsel-linux-gcc34
      Version: 3.4.6
      revision 1
      Category: cross
      Platform: darwin
      Maintainers: nomaintainer
      Description: gcc cross compiler for mips-linux with uClib
      Long Description: ${description}

      Homepage: http://gcc.gnu.org/
      master_sites gnu:/gcc/gcc-${version}
      distname gcc-${version}
      checksums sha1 97b290fdc572c8e490b3b39f243e69bacad23c2b
      use_bzip2 yes

      dist_subdir gcc

      patchfiles 100-uclibc-conf.patch 200-uclibc-locale.patch 300-libstdc++-pic.patch 601-gcc34-arm-ldm.patch 602-sdk-libstdc++-includes.patch 700-pr15068-fix.patch 800-arm-bigendian.patch 810-arm-bigendian-uclibc.patch arm-softfloat.patch.conditional

      depends_lib port:mipsel-linux-binutils port:mipsel-linux-uclib-headers

      set target mipsel-linux-uclibc
      set cprefix ${prefix}/cross/${target}

      patch.pre_args -p1

      configure.env AR_FOR_TARGET=${cprefix}/${target}/bin/ar AS_FOR_TARGET=${cprefix}/${target}/bin/as LD_FOR_TARGET=${cprefix}/${target}/bin/ld NM_FOR_TARGET=${cprefix}/${target}/bin/nm RANLIB_FOR_TARGET=${cprefix}/{target}/bin/ranlib PATH=${cprefix}/bin:$env(PATH)

      configure.pre_args --prefix=${cprefix}/
      configure.args --target=${target} --enable-languages=c --disable-shared --with-sysroot=${cprefix}/uclibc --disable-__cxa_atexit --enable-target-optspace --with-gnu-ld --disable-nls --enable-multilib --with-float=soft

      build.env ${configure.env}

      destroot.env ${configure.env}
      post-destroot {
      file delete -force ${destroot}${cprefix}/info ${destroot}${cprefix}/man
      foreach b {gcc cpp} {
      system "cd ${destroot}${prefix}/bin && ln -sf ../cross/${target}/bin/mipsel-linux-uclibc-${b}"
      }
      }

      platform darwin powerpc {
      configure.args-append --host=powerpc-apple-darwin --build=powerpc-apple-darwin
      }
      platform darwin x86 {
      configure.args-append --host=i686-apple-darwin --build=i686-apple-darwin
      }


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

     Where to find more information:

    Darwin Ports



    image test