Thread overview | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
December 11, 2015 DMD to GDC option converter | ||||
---|---|---|---|---|
| ||||
Hey, I'm looking for someone who masters well GDC options to contribute to a tool for Coedit that converts DMD options to GDC options, either directly in a D project or here, on the NG, through posts. The project: https://github.com/BBasile/Coedit/tree/master/cegdcldc Currently there's only the skeleton. If someone is interested , the thing to do is `void convertToGdc()`. Actually the skeleton is obsolete because it still contains the code for LDC while it's not required (http://forum.dlang.org/post/equsfqozpqbduvpqggcz@forum.dlang.org). You should get the goal anyway. |
December 11, 2015 Re: DMD to GDC option converter | ||||
---|---|---|---|---|
| ||||
Posted in reply to Basile B. | On Friday, 11 December 2015 at 17:17:24 UTC, Basile B. wrote:
> Hey, I'm looking for someone who masters well GDC options to contribute to a tool for Coedit that converts DMD options to GDC options, either directly in a D project or here, on the NG, through posts.
>
> The project:
>
> https://github.com/BBasile/Coedit/tree/master/cegdcldc
>
> Currently there's only the skeleton. If someone is interested , the thing to do is `void convertToGdc()`. Actually the skeleton is obsolete because it still contains the code for LDC while it's not required (http://forum.dlang.org/post/equsfqozpqbduvpqggcz@forum.dlang.org). You should get the goal anyway.
gdmd is part of the gdc package. It takes dmd options.
|
December 11, 2015 Re: DMD to GDC option converter | ||||
---|---|---|---|---|
| ||||
Posted in reply to Thomas Brix Larsen | 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:
>> Hey, I'm looking for someone who masters well GDC options to contribute to a tool for Coedit that converts DMD options to GDC options, either directly in a D project or here, on the NG, through posts.
>>
>> The project:
>>
>> https://github.com/BBasile/Coedit/tree/master/cegdcldc
>>
>> Currently there's only the skeleton. If someone is interested , the thing to do is `void convertToGdc()`. Actually the skeleton is obsolete because it still contains the code for LDC while it's not required (http://forum.dlang.org/post/equsfqozpqbduvpqggcz@forum.dlang.org). You should get the goal anyway.
>
> 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 ?
|
December 11, 2015 Re: DMD to GDC option converter | ||||
---|---|---|---|---|
| ||||
Posted in reply to Basile B. | 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 |
December 11, 2015 Re: DMD to GDC option converter | ||||
---|---|---|---|---|
| ||||
Posted in reply to Basile B. | Am Fri, 11 Dec 2015 17:54:38 +0000 schrieb Basile B. <b2.temp@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...) |
December 11, 2015 Re: DMD to GDC option converter | ||||
---|---|---|---|---|
| ||||
Posted in reply to Johannes Pfau | 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@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.
|
December 13, 2015 Re: DMD to GDC option converter | ||||
---|---|---|---|---|
| ||||
Posted in reply to Basile B. Attachments:
| On 11 December 2015 at 18:58, Basile B. via D.gnu <d.gnu@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@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.
|
December 13, 2015 Re: DMD to GDC option converter | ||||
---|---|---|---|---|
| ||||
Posted in reply to Iain Buclaw | On Sunday, 13 December 2015 at 12:04:10 UTC, Iain Buclaw wrote:
> On 11 December 2015 at 18:58, Basile B. via D.gnu <d.gnu@puremagic.com> wrote:
>
>> On Friday, 11 December 2015 at 18:24:13 UTC, Johannes Pfau wrote:
>>
>>>[...]
>>
>> 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.
I understand.
If anyone read this topic: don't bother. I've decided not to support GDC for the moment. Since it concerned only my own project format this doesn't matter that much.
|
Copyright © 1999-2021 by the D Language Foundation