DMD to GDC option converter

Basile B. via D.gnu d.gnu at puremagic.com
Fri Dec 11 10:58:02 PST 2015


On Friday, 11 December 2015 at 18:24:13 UTC, Johannes Pfau wrote:
> Am Fri, 11 Dec 2015 17:54:38 +0000
> schrieb Basile B. <b2.temp at gmx.com>:
>
>> On Friday, 11 December 2015 at 17:51:52 UTC, Basile B. wrote:
>> > On Friday, 11 December 2015 at 17:39:04 UTC, Thomas Brix 
>> > Larsen wrote:
>> >> On Friday, 11 December 2015 at 17:17:24 UTC, Basile B. 
>> >> wrote:
>> >>> [...]
>> >>
>> >> gdmd is part of the gdc package. It takes dmd options.
>> >
>> > I can't see it. I have downloaded gdc from the "choose 
>> > compilo" page, archive is "gdc-5.2.0+2.066.1.tar.xz", what's 
>> > wrong ?
>> 
>> from here more exactly:
>> 
>> http://gdcproject.org/downloads/binaries/5.2.0/x86_64-linux-gnu/gdc-5.2.0+2.066.1.tar.xz
>
> It's not included in the http://gdcproject.org/downloads/ 
> packages, but it is included in Archlinux and Debian packages 
> IIRC.
>
> I could ship the gdmd script with the binary releases but it's 
> a perl script and I'd rather have an alternative which doesn't 
> need perl installed.
>
> Source code: 
> https://github.com/D-Programming-GDC/GDMD/blob/master/dmd-script incomplete D port: https://github.com/quickfur/GDMD/tree/dport (maybe I'll finish this some time...)

Ok, I thought it's distributed with GDC. Clearly a sript is not 
an option for me.

The GDC command line interface doesn't look like a piece of 
cake...600 lines to translate DMD options, ouch. My proposition 
still stands but I'm sorry if it looks abusive...the fact is I've 
never used GDC at all.


More information about the D.gnu mailing list