|
|||||||||
Saturday the 20th of March, 2010 |
|||||||||
gcc44 most recent diffversion 4.4.2
Scroll down toward the bottom of the page to get installation instructions for gcc44. The raw portfile for gcc44 4.4.2 is located here: http://gcc44.darwinports.com/dports/lang/gcc44/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/gcc44 The gcc44 Portfile 59647 2009-10-18 16:56:04Z mww PortSystem 1.0 Name: gcc44 epoch 1 Version: 4.4.2 Platform: darwin Category: lang Maintainers: mww license GPLv3 Description: The GNU compiler collection Long Description: The GNU compiler collection, including front ends for C, C++, Objective-C, Objective-C++, Java and Fortran95. Homepage: http://gcc.gnu.org/ Master Sites: ftp://ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/gcc/releases/gcc-${version}/ ftp://ftp.gwdg.de/pub/linux/gcc/releases/gcc-${version}/ ftp://gcc.ftp.nluug.nl/mirror/languages/gcc/releases/gcc-${version}/ ftp://gcc.gnu.org/pub/gcc/releases/gcc-${version}/ gnu:/gcc/gcc-${version} set dcore gcc-core-${version}.tar.bz2 set dfort gcc-fortran-${version}.tar.bz2 set dcxx gcc-g++-${version}.tar.bz2 set djava gcc-java-${version}.tar.bz2 set dobjc gcc-objc-${version}.tar.bz2 distfiles ${dcore} ${dfort} ${dcxx} ${djava} ${dobjc} Checksums: ${dcore} sha1 929d560e07082d790de5cdc46a78008f7a742241 ${dfort} sha1 bce411a96682627416311cd42134b449bdee6d81 ${dcxx} sha1 e73c1dcfdefb0972a4c91c656980bdc009196ae4 ${djava} sha1 f9ab2f157bd11ed56dddfc683fe022474ac11217 ${dobjc} sha1 b3129d55058960d4c20fc9a2e96254e1c8c9debf use_bzip2 yes # gmp and mpfr are not universal universal_variant no depends_lib port:gmp port:mpfr port:libiconv patch.dir ${workpath}/gcc-${version} set major 4.4 worksrcdir build # the generated compiler doesn't accept -arch if {[info exists build_arch] && ${os.platform} == "darwin"} { configure.cc_archflags configure.cxx_archflags configure.objc_archflags configure.pre_args-append --build=${build_arch}-apple-darwin${os.major} } post-extract { file mkdir ${worksrcpath} } configure.cmd ../gcc-${version}/configure configure.args --enable-languages=c,c++,objc,obj-c++,java,fortran --libdir=${prefix}/lib/${name} --includedir=${prefix}/include/${name} --infodir=${prefix}/share/info --mandir=${prefix}/share/man --with-local-prefix=${prefix} --with-system-zlib --disable-nls --program-suffix=-mp-${major} --with-gxx-include-dir=${prefix}/include/${name}/c++/ --with-gmp=${prefix} --with-mpfr=${prefix} # do NOT use MacPorts binutils -- they do not work configure.env-append AR_FOR_TARGET=/usr/bin/ar AS_FOR_TARGET=/usr/bin/as LD_FOR_TARGET=/usr/bin/ld NM_FOR_TARGET=/usr/bin/nm OBJDUMP_FOR_TARGET=/usr/bin/objdump RANLIB_FOR_TARGET=/usr/bin/ranlib STRIP_FOR_TARGET=/usr/bin/strip build.target bootstrap use_parallel_build yes destroot.target install install-info-host post-destroot { file delete -force ${destroot}${prefix}/share/man/man7 ${destroot}${prefix}/share/info # install/copy ffitarget.h only if we have it if {![catch {set ffitarget.h [glob ${destroot}${prefix}/lib/${name}/gcc/*/${version}/include/ffitarget.h]} result]} { file copy ${ffitarget.h} ${destroot}${prefix}/include/${name}/ } # install select file for gcc_select xinstall -m 755 -d ${destroot}${prefix}/etc/select/gcc xinstall -m 444 ${filespath}/mp-gcc44 ${destroot}${prefix}/etc/select/gcc/ } #platform darwin 7 { # configure.cflags-append -force_cpusubtype_ALL # confgiure.env BOOT_CFLAGS="-g -O2 -force_cpusubtype_ALL" # build.args-append XCFLAGS=-force_cpusubtype_ALL #} platform powerpc { configure.args-append --disable-multilib } # odcctools currently do not compile for x64 - move to variant for the time being Variant: odcctools description "Use the odcctools instead of the system provided ones - does not work for x64 currently!" { depends_lib-append port:odcctools post-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.type regex livecheck.url http://gcc.gnu.org/gcc-4.4/ livecheck.regex GCC (4\\.4\\.\[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/gcc44You 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 gcc44 with these commands: % man gcc44 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 |
|||||||
| |




