DMD to GDC option converter

Iain Buclaw via D.gnu d.gnu at puremagic.com
Sun Dec 13 04:04:10 PST 2015


On 11 December 2015 at 18:58, Basile B. via D.gnu <d.gnu at puremagic.com>
wrote:

> 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.
>

It's not just a one-to-one conversion of command-line switches, it's also
behaviour that needs to be mimic'd too.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20151213/458ab1dc/attachment.html>


More information about the D.gnu mailing list