I find the D language from http://www.digitalmars.com/d/ very interesting, although I haven't used it much yet. In case someone else is interested, I put together an ebuild for the compiler:
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: $
RESTRICT="nomirror"
S="${WORKDIR}/${P}"
DESCRIPTION="Compiler, library and tools for the D language"
HOMEPAGE="http://www.digitalmars.com/d/"
SRC_URI="ftp://ftp.digitalmars.com/dmd.zip"
LICENSE="Artistic as-is"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
RDEPEND="sys-devel/gcc"
src_install() {
cd ${WORKDIR}/dmd
# rename to make sure we don't overwrite files from another package
mv bin/dumpobj bin/dmd-dumpobj
mv bin/obj2asm bin/dmd-obj2asm
dobin bin/{dmd,dmd-dumpobj,dmd-obj2asm}
dolib lib/libphobos.a
dohtml html/d/*
dodoc bin/readme.txt license.txt
# the source files are important, or the compiler won't
# find the library functions
dodir usr/lib/dmd
cp -r src/phobos/* ${D}/usr/lib/dmd/
# config file to set the path for the source files
dodir etc/env.d
echo "DFLAGS=\"-I/usr/lib/dmd\"" > ${D}/etc/env.d/40dflags
}
Looks like it is a very promising language. By the way, there is also GCC frontend for D language: http://www.prowiki.org/wiki4d/wiki.cgi?GccFrontEnd
Having ebuild for GCC based D compiler would be interesting too (open source and more supported platforms).
Are you talking about #48136 ? The bug isn't even a week old and packages with versions like 0.0.1_rc5 are a bit discouraging (but challenging at the same time). Maybe I'll look into D more once I find some use for it. As a sidenote, I never put dmd into portage because of upstream restrictions, see this thread.
gdc -o helloWorld helloWorld.d
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../libphobos.a(d_os_dep.o)(.text+0x37c): In function `GC_write_fault_handler':
/var/tmp/portage/phobos-0.8.2-r7/work/gcc-3.3.3/gcc/d/phobos/boehm-gc/d_os_dep.c:2334: undefined reference to `GC_err_printf'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../libphobos.a(d_os_dep.o)(.text+0x3a2):/var/tmp/portage/phobos-0.8.2-r7/work/gcc-3.3.3/gcc/d/phobos/boehm-gc/d_os_dep.c:2251: undefined reference to `GC_arrays'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../libphobos.a(d_os_dep.o)(.text+0x40a):/var/tmp/portage/phobos-0.8.2-r7/work/gcc-3.3.3/gcc/d/phobos/boehm-gc/d_os_dep.c:2264: undefined reference to `GC_err_printf'
bumping this age-old thread..
There has been some updates to the gdc compiler lately, does anyone still care about this?
GDC has been updated to match dmd version 0.102. I tried to modify the ebuilds from bugzilla, but it wouldn't compile..=( http://bugs.gentoo.org/show_bug.cgi?id=48136
Here's my modified gdc ebuild if anyone's interested: http://www.runesson.info/anders/gdc-0.102.ebuild
I didn't post it at bugzilla because it wouldn't compile for me, not sure if it's something I missed, or what. The only difference is the tarball downloaded, and one of the patches has been removed (patch-1f-20040427)
This is only for gdc, not phobos since i didn't get that far.
I no longer see any dmd/gdc/digitalmars ebuilds in portage. Were they deleted or do I simply not find them? Is there still interest from some devs in D or is it considered dead/boring/whatever?
Bumping this thread because I have the same question as the meyerm.
Bugs 118209 and 48136 have been modified fairly recently, so that should mean D is still "in progress", right?
We should pitch in and help that guy write ebuilds for the dsource projects we are most interested in, starting with gdc of course
I wouldn't mind spending some time over the weekends messing with that.
I'm too lazy to keep this stupid signature up to date, so here's something more interesting: My friend Hetdegon can draw if you ask me.
Now using PClinuxOS on my laptop and Gentoo on my desktop and new laptop.
Well, could we make an up-to-date ebuild and send it to the overlay maintainer? dmd and gdc ebuilds are what we should do first - I'd like to help but I don't have free time until the weekend...
I'm too lazy to keep this stupid signature up to date, so here's something more interesting: My friend Hetdegon can draw if you ask me.
Now using PClinuxOS on my laptop and Gentoo on my desktop and new laptop.