Gentoo Archives: gentoo-dev

From: Nguyen Thai Ngoc Duy <pclouds@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Introducing D into the tree
Date: Fri, 09 Mar 2007 12:10:56
Message-Id: fcaeb9bf0703090407x21d08fa3kaaf6506de5aee1f7@mail.gmail.com
In Reply to: [gentoo-dev] Introducing D into the tree by Anant Narayanan
1 On 3/9/07, Anant Narayanan <anant@g.o> wrote:
2 > Hi All,
3 >
4 > I'm currently in the process of introducing a bunch of ebuilds
5 > related to the D programming language into the tree. I'll begin with
6 > the binary compiler provided by Digital Mars and then move onto the
7 > GCC based compiler.
8 >
9 > 1) The dev-lang/dmd-bin ebuild will be fairly straightforward with
10 > the compiler going into /opt. I'm using an env.d entry to modify the
11 > user's path (much like ghc-bin), but I notice that the naming
12 > convention in /etc/env.d is seemingly random. I can't really think of
13 > what 2 digit prefix would be most appropriate prefix for DMD.
14
15 The numbers are used to sort the list for env-update IIRC.
16
17 >
18 > 2) The dev-lang/d-gcc ebuild would require more thought. I notice the
19 > following line in toolchain.eclass:
20 >
21 > > # support for the D language
22 > > [[ -n ${D_VER} ]] && \
23 > > GCC_SRC_URI="${GCC_SRC_URI} d? ( mirror://sourceforge/dgcc/
24 > > gdc-${D_VER}-src.tar.bz2 )"
25 >
26 > I'd appreciate it if one of the toolchain ninjas could clarify their
27 > stance on D :)
28
29 I'm no toolchain ninja, but from the log, it references to bug
30 #159196. Maybe it's worth looking at the bug.
31
32 > 3) There are quite of a few D applications out there that I'd like to
33 > add support for. Examples are DUI (D bindings to Gtk, leds (an IDE)
34 > and Tango (a general purpose library). However, for this to happend,
35 > we need a virtual for the D compiler.
36 >
37 > Thoughts, suggestions, comments and criticisms invited :)
38
39 Happy D-ing :)
40
41 --
42 Duy
43 --
44 gentoo-dev@g.o mailing list