* [gentoo-user] D and Gentoo
@ 2014-01-12 18:14 Elias Diem
2014-01-12 19:37 ` Anton Shumskyi
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Elias Diem @ 2014-01-12 18:14 UTC (permalink / raw
To: gentoo-user
Hi all
What's the best way to have a D compiler in Gentoo?
I know that there is a USE flag for gcc which adds D, but
apparently it doesn't work.
--
Greetings
Elias
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] D and Gentoo
2014-01-12 18:14 [gentoo-user] D and Gentoo Elias Diem
@ 2014-01-12 19:37 ` Anton Shumskyi
2014-01-12 23:00 ` [gentoo-user] " walt
2014-02-08 12:25 ` [gentoo-user] " Elias Diem
2 siblings, 0 replies; 7+ messages in thread
From: Anton Shumskyi @ 2014-01-12 19:37 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 405 bytes --]
Hi=) There's Digital Mars D Compiler (dev-lang/dmd) at sunrise overlay,
latest is 2.063.2, it's compilable and seems to be working =)
On Sun, Jan 12, 2014 at 8:14 PM, Elias Diem <pub.linux@webconect.ch> wrote:
> Hi all
>
> What's the best way to have a D compiler in Gentoo?
>
> I know that there is a USE flag for gcc which adds D, but
> apparently it doesn't work.
>
> --
> Greetings
> Elias
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 826 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-user] Re: D and Gentoo
2014-01-12 18:14 [gentoo-user] D and Gentoo Elias Diem
2014-01-12 19:37 ` Anton Shumskyi
@ 2014-01-12 23:00 ` walt
2014-01-13 10:25 ` Elias Diem
2014-02-08 12:25 ` [gentoo-user] " Elias Diem
2 siblings, 1 reply; 7+ messages in thread
From: walt @ 2014-01-12 23:00 UTC (permalink / raw
To: gentoo-user
On 01/12/2014 10:14 AM, Elias Diem wrote:
> Hi all
>
> What's the best way to have a D compiler in Gentoo?
>
> I know that there is a USE flag for gcc which adds D, but
> apparently it doesn't work.
I know absolutely nothing about D, which makes me qualified to ask
how you can tell if the 'd' useflag is working or not ;)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Re: D and Gentoo
2014-01-12 23:00 ` [gentoo-user] " walt
@ 2014-01-13 10:25 ` Elias Diem
2014-01-13 11:39 ` Pavel Kazakov
0 siblings, 1 reply; 7+ messages in thread
From: Elias Diem @ 2014-01-13 10:25 UTC (permalink / raw
To: gentoo-user
On 2014-01-12, walt wrote:
> I know absolutely nothing about D, which makes me qualified to ask
> how you can tell if the 'd' useflag is working or not ;)
Hehe. Good question.
Well I enabled this USE flag for gcc but I don't have an
executable that starts with
gcc...
gdc...
And furthermore if I run 'equery u gcc' there is no d USE
flag. It's not even there to tell me that gcc was compiled
without it!
--
Greetings
Elias
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Re: D and Gentoo
2014-01-13 10:25 ` Elias Diem
@ 2014-01-13 11:39 ` Pavel Kazakov
2014-01-13 13:27 ` Elias Diem
0 siblings, 1 reply; 7+ messages in thread
From: Pavel Kazakov @ 2014-01-13 11:39 UTC (permalink / raw
To: gentoo-user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 01/13/2014 02:25 AM, Elias Diem wrote:
> On 2014-01-12, walt wrote:
>
>> I know absolutely nothing about D, which makes me qualified to ask
>> how you can tell if the 'd' useflag is working or not ;)
>
> Hehe. Good question.
>
> Well I enabled this USE flag for gcc but I don't have an
> executable that starts with
>
> gcc...
> gdc...
>
> And furthermore if I run 'equery u gcc' there is no d USE
> flag. It's not even there to tell me that gcc was compiled
> without it!
>
Hi Elias,
According to 'euse -i d', the 'd' flag only shows up for
'=sys-devel/gcc-3.4.6-r2' and '=sys-devel/gcc-4.1.2'. I'm assuming you
are using a newer version of gcc that doesn't have the d use flag.
My sugesstion would be to look for a portage overlay that has the D
compiler. Anton mentioned the Digital Mars D Compiler (dev-lang/dmd) at
sunrise overlay, so you might want to take a look at that. A quick
search also showed a wiki page on ldc [1], although I'm not sure how
reliable/legit it is.
Regards,
Pavel
[1] http://wiki.dlang.org/Installing_LDC_on_Gentoo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQIcBAEBAgAGBQJS09CCAAoJENb1ecI556su5WcQAMckbYh8haL9l0Wkf+yxpjKG
hbr5fl2+D0ckdxsnF+Is0FA53n34CMbgLppWoC7QZWf3sQSKZ+PyoZGUGtQ16FOe
tAvDszICrQcFFbZtI/6I/NhenqqW08B/7AzBCLs8iJFKwyYEkyxdnfOrA8b0lZVE
rns+ad/UP6G9F+PUjoCajdYRGenHIHkaf9rgdK+cQRZw4w8iv5jDAmIjMs77tisZ
TXSYjKTlBYpWqmsaAnPMtU64zu/GZmgiCoUC5Z6fTxblT48E0RsItWvv+W3VXiAP
7sb4Ee1qij3ijKINYj7c+XFGlexUv9wC2Dx9vaWNfTC697MmSZ+EuJ0GikmxoKC0
Zxs9Iyj64IesFYLtuZFH0UDQ2j68qIy/eoj1qPnVSwdvAdieDeXOMig9D8uvXG2b
cZ5Oe7e0Y9jRL8GppR5pWywAvk/sQqy3xO2G6kdbGkrqjGVUqsmg3uP+9CtJ2aS6
+2qSvRVg2RWNoOK1HXWXB1qIQErIdD1uBKhwffO6nz3TA4HB1jjxGu+Q7kwLy4/5
mSfQiPt3iIcv0si7+zgj4qLRhkuGlI4KSqICSYI4TuojXDVb5DvYxK2w3LYuk3gQ
I03qAyYQ7x6xWgbj33nPst/8saOq8i4To9sxQeeft8eHLS8rqrsgz2f7HSfX0ekh
KrAqMTwTsL9f+SJwCyte
=vObp
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Re: D and Gentoo
2014-01-13 11:39 ` Pavel Kazakov
@ 2014-01-13 13:27 ` Elias Diem
0 siblings, 0 replies; 7+ messages in thread
From: Elias Diem @ 2014-01-13 13:27 UTC (permalink / raw
To: gentoo-user
Hi Pavel
On 2014-01-13, Pavel Kazakov wrote:
> According to 'euse -i d', the 'd' flag only shows up for
> '=sys-devel/gcc-3.4.6-r2' and '=sys-devel/gcc-4.1.2'. I'm assuming you
> are using a newer version of gcc that doesn't have the d use flag.
Indeed. Thank you for the explanation.
--
Greetings
Elias
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] D and Gentoo
2014-01-12 18:14 [gentoo-user] D and Gentoo Elias Diem
2014-01-12 19:37 ` Anton Shumskyi
2014-01-12 23:00 ` [gentoo-user] " walt
@ 2014-02-08 12:25 ` Elias Diem
2 siblings, 0 replies; 7+ messages in thread
From: Elias Diem @ 2014-02-08 12:25 UTC (permalink / raw
To: gentoo-user
Hi there
Just for the records.
I finally managed to build GCC with D support myself
(without using the overlay).
What I did:
- Download and enpack a tar for GCC 4.8.2
- Clone the git repo from gdcproject.org
- Check out the appropriate branch in the git repo
- Run the setup-gcc.sh script
- Configure GCC (including --enable-languages=d)
- Make GCC
--
Greetings
Elias
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-02-08 12:26 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-12 18:14 [gentoo-user] D and Gentoo Elias Diem
2014-01-12 19:37 ` Anton Shumskyi
2014-01-12 23:00 ` [gentoo-user] " walt
2014-01-13 10:25 ` Elias Diem
2014-01-13 11:39 ` Pavel Kazakov
2014-01-13 13:27 ` Elias Diem
2014-02-08 12:25 ` [gentoo-user] " Elias Diem
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox