|
|||||||||
Saturday the 7th of November, 2009 |
|||||||||
gdc most recent diffversion 0.24
Scroll down toward the bottom of the page to get installation instructions for gdc. The raw portfile for gdc 0.24 is located here: http://gdc.darwinports.com/dports/lang/gdc/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/gdc The gdc Portfile 57375 2009-09-10 08:16:41Z ryandesign PortSystem 1.0 Name: gdc Version: 0.24 Revision: 2 set gcc_version 4.1.2 Category: lang Platform: darwin Maintainers: mww Description: D language compiler Long Description: gcc ${gcc_version} with D language frontend, a new language by digitalmars Homepage: http://dgcc.sourceforge.net/ Master Sites: sourceforge:dgcc:gdc gnu:/gcc/gcc-${gcc_version}:gcc set gdc gdc-${version}-src.tar.bz2 set gcc_core gcc-core-${gcc_version}.tar.bz2 set gcc_cxx gcc-g++-${gcc_version}.tar.bz2 distfiles ${gdc}:gdc ${gcc_core}:gcc ${gcc_cxx}:gcc Checksums: ${gdc} sha1 2be913fe061429c1a279e4cf882e947d34946303 ${gcc_core} sha1 d6875295f6df1bec4a6f4ab8f0da54bfb8d97306 ${gcc_cxx} sha1 e29c6e151050f8b5ac5d680b99483df522606143 use_bzip2 yes Patch Files: patch-config-i386-darwin.h set bindir ${prefix}/lib/${name}/bin set incdir ${prefix}/include/d/${gcc_version} worksrcdir build post-extract { file mkdir ${worksrcpath} system "ln -sf ${workpath}/d ${workpath}/gcc-${gcc_version}/gcc/d" } patch.dir ${workpath}/gcc-${gcc_version} post-patch { system "cd ${workpath}/gcc-${gcc_version}/ && gcc/d/setup-gcc.sh" reinplace "s|tjmp %%edx|tjmp *%%edx|" ${workpath}/gcc-${gcc_version}/gcc/config/i386/i386.c } configure.cmd ${workpath}/gcc-${gcc_version}/configure configure.args --enable-languages=d,c --bindir=${bindir} --libdir=${prefix}/lib/${name} --includedir=${incdir} --with-gxx-include-dir=${prefix}/include/d/${gcc_version} --infodir=${prefix}/share/info --mandir=${prefix}/share/man --libexecdir=${prefix}/libexec/${name} --with-system-zlib --disable-nls --disable-multilib --with-local-prefix=${prefix} build.type gnu #build.target bootstrap-lean post-destroot { # install wrapper - this way calling 'gdc' and 'gdmd' just works foreach wrp {gdc gdmd} { xinstall -m 755 ${filespath}/wrapper.sh ${destroot}${prefix}/bin/${wrp} reinplace "s|__BIN__|${bindir}/${wrp}|g" ${destroot}${prefix}/bin/${wrp} reinplace "s|__INCDIR__|${incdir}|g" ${destroot}${prefix}/bin/${wrp} } # remove unnecessary manpages foreach man1page {cpp gcc gcov g++} { file delete ${destroot}${prefix}/share/man/man1/${man1page}.1 } file delete -force ${destroot}${prefix}/share/man/man7 ${destroot}${prefix}/share/info # only need -I${incdir} this way: system "cd ${destroot}${incdir}/gcc && find .. -name config.d -exec ln -s {} \\; && find .. -name configunix.d -exec ln -s {} \\;" system "cd ${destroot}${incdir} && find . -name phobos-ver-syms -exec ln -s {} \\;" } livecheck.type regex livecheck.url http://sourceforge.net/export/rss2_projfiles.php?project=dgcc livecheck.regex gdc-(\[0-9\.\]+)-src.tar 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/gdcYou 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 gdc with these commands: % man gdc 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 |
|||||||
| |




