|
|||||||||
Monday the 22nd of March, 2010 |
|||||||||
i386-mingw32-binutils most recent diffversion 2.19.1
Scroll down toward the bottom of the page to get installation instructions for i386-mingw32-binutils. The raw portfile for i386-mingw32-binutils 2.19.1 is located here: http://i386-mingw32-binutils.darwinports.com/dports/cross/i386-mingw32-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/i386-mingw32-binutils The i386-mingw32-binutils Portfile 60616 2009-11-16 22:28:43Z jmr PortSystem 1.0 Name: i386-mingw32-binutils Version: 2.19.1 Maintainers: landonf Description: Mingw32 Binutils for i386-mingw32 cross development Long Description: Mingw32 development toolchain ("binutils") for i386-mingw32 (Windows) cross development. Homepage: http://www.mingw.org Category: cross devel depends_lib port:gettext # Parameters for this port. set crossgcc-target i386-mingw32 Platform: darwin Master Sites: sourceforge:mingw distname binutils-${version}-mingw32-src worksrcdir binutils-${version} Checksums: md5 ad3f2b5fdcd599a772ad75fec2c384d8 sha1 7e930435c47991c4070b1c74b010350e4669011f rmd160 98916f371f647864997bb00084a5e7a0fd46d982 # Build in a different directory, as advised in the README file. pre-configure { system "cd ${workpath} && mkdir -p build"} configure.dir ${workpath}/build configure.cmd ${worksrcpath}/configure configure.args --infodir='${prefix}/share/info' --target=${crossgcc-target} --program-prefix=${crossgcc-target}- --mandir='${prefix}/share/man' --disable-werror if {${os.platform} == "darwin" && $build_arch != ""} { configure.args-append --build=${build_arch}-apple-darwin${os.major} } # Append CPPFLAGS to CFLAGS and CXXFLAGS as CPPFLAGS seems to be ignored configure.cflags-append ${configure.cppflags} configure.cxxflags-append ${configure.cppflags} build.dir ${workpath}/build # We don't want the etc module. post-extract { system "rm -rf ${worksrcpath}/etc" } post-patch { namespace eval crossgcc {} # Fix the info pages and related stuff. # # path: path to the doc directory (e.g. gas/doc/) # makefile: path to Makefile.in (e.g. gas/doc/Makefile.in) # name: name of the info page (e.g. as) # suffix: suffix of the souce page (texinfo or texi) proc crossgcc::fixinfo { path makefile name suffix } { global crossgcc-target worksrcpath # Fix the source reinplace "s|setfilename ${name}.info|setfilename ${crossgcc-target}-${name}.info|g" ${worksrcpath}/${path}/${name}.${suffix} reinplace "s|(${name})|(${crossgcc-target}-${name})|g" ${worksrcpath}/${path}/${name}.${suffix} reinplace "s| # Fix the Makefile reinplace "s|${name}.info|${crossgcc-target}-${name}.info|g" ${worksrcpath}/${makefile} reinplace "s|${name}.${suffix}|${crossgcc-target}-${name}.${suffix}|g" ${worksrcpath}/${makefile} # Rename the source file rename ${worksrcpath}/${path}/${name}.${suffix} ${worksrcpath}/${path}/${crossgcc-target}-${name}.${suffix} # Fix install-info's dir. # (note: this may be effectless if there was no info dir to be fixed) reinplace "s|__TARGET|${crossgcc-target}|g" "${worksrcpath}/${makefile}" } # Fix the gettext files and related stuff. # # module: name of the module (e.g. gas) proc crossgcc::fixgettext { module } { global crossgcc-target worksrcpath if { [ file exists "${worksrcpath}/${module}/Makefile.in" ] } { reinplace "s| } if { [ file exists "${worksrcpath}/${module}/doc/Makefile.in" ] } { reinplace "s| } if { [ file exists "${worksrcpath}/${module}/po/Make-in" ] } { reinplace "s| } } # gas/doc/as.texinfo crossgcc::fixinfo gas/doc/ gas/doc/Makefile.in as texinfo # bfd/doc/bfd.texinfo crossgcc::fixinfo bfd/doc/ bfd/doc/Makefile.in bfd texinfo # binutils/doc/binutils.texi crossgcc::fixinfo binutils/doc/ binutils/doc/Makefile.in binutils texi # gprof/gprof.texi crossgcc::fixinfo gprof/ gprof/Makefile.in gprof texi # ld/ld.texinfo crossgcc::fixinfo ld/ ld/Makefile.in ld texinfo # gettext stuff. crossgcc::fixgettext bfd crossgcc::fixgettext binutils crossgcc::fixgettext gas crossgcc::fixgettext gprof crossgcc::fixgettext ld crossgcc::fixgettext opcodes } destroot.violate_mtree yes post-destroot { # Installing (host) libiberty was a mistake. file delete ${destroot}${prefix}/lib/libiberty.a file delete ${destroot}${prefix}/lib/${build_arch}/libiberty.a } 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/i386-mingw32-binutilsYou 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: 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 i386-mingw32-binutils with these commands: % man i386-mingw32-binutils Where to find more information:
|
![]() |
![]()
Order Snow Leopard MacOSX 10.6 for only $29!
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
accounting
amusements aqua archivers audio benchmarks biology blinkenlights cad chat chinese comms compression cross crypto databases devel editors education electronics emacs emulators erlang finance fonts framework fuse games genealogy gis gnome gnustep graphics gtk haskell iphone irc japanese java kde kde4 lang macports math mercurial ml mono multimedia net network news ocaml office palm parallel perl php pim project python reporting rox ruby russian scheme science security shells spelling squeak sysutils tcl tex textproc tk unicode vnc win32 wsn www x11 x11-font x11-wm xfce zope
Current SVN DownloadsDarwin Ports Current :nightly SVN snapshot SSH Key Gen See also: GNU-Darwin Ports for GNU-only software |
|||||||
| |




