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

    binutils  most recent diff


    version 2.19

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


      The binutils Portfile 57224 2009-09-07 20:49:53Z ryandesign macports.org $

      PortSystem 1.0
      PortGroup muniversal 1.0

      Name: binutils
      Version: 2.19

      Description: FSF Binutils for native development.
      Long Description: Free Software Foundation development toolchain ("binutils") for native development. Tools are prefixed with g to avoid conflicts with original tools.
      Platform: darwin
      Category: devel
      Maintainers: kallisys.net:pguyot
      Homepage: http://www.gnu.org/software/binutils/binutils.html
      Master Sites: gnu:binutils
      use_bzip2 yes
      Checksums: md5 17a52219dee5a76c1a9d9b0bfd337d66 sha1 a150b97ec47996bf8f01d6bc14d41587faa4bbff rmd160 1d5e234e22dbd9cd126ccfd685bf5700dc36ad1a

      depends_lib-append port:zlib port:libiconv

      configure.args --infodir='${prefix}/share/info' --mandir='${prefix}/share/man' --disable-werror --program-prefix=g

      # The Makefile runs configure again in subdirectories.
      # It correcty passes along most configure variables (CFLAGS, LDFLAGS, ...),
      # but seems to neglect CPPFLAGS.
      build.env-append CPPFLAGS='-I${prefix}/include'

      # Binutils violates the mtree layout by creating ${prefix}//
      destroot.violate_mtree yes

      # We don't want the etc module.
      post-extract {
      system "rm -rf ${worksrcpath}/etc"
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.