Thread overview
Re: gdmd
Aug 30, 2014
Iain Buclaw
Aug 30, 2014
Russel Winder
Aug 30, 2014
ketmar
Aug 30, 2014
Iain Buclaw
Aug 30, 2014
ketmar
Aug 30, 2014
Russel Winder
Aug 30, 2014
Iain Buclaw
Aug 31, 2014
ketmar
August 30, 2014
On 30 Aug 2014 17:47, "Russel Winder" <russel@winder.org.uk> wrote:
>
> Iain,
>
> gdmd was in gdc-4.6 but as far as I can tell it is not in gdc-4.9.1. Is gdmd an ex-thing? In a sense I hope so as it required the environment variable $HOME to be set and this is a problem for SCons testing. Basically we have failing tests on gdc-4.6 based machines but not on gdc-4.9.1 based ones and I need to find out whether to fix the tests or remove gdmd from the SCons toolkit.
>
> An early answer would be very much appreciated, as there is pressure to get this fixed this weekend.
>
> --
> Russel.

Yes, gdmd is no longer integrated.  Is now an external tool.

Iain.


August 30, 2014
Iain,

On Sat, 2014-08-30 at 18:07 +0100, Iain Buclaw wrote:
[…]
> 
> Yes, gdmd is no longer integrated.  Is now an external tool.

Thanks muchly for the very rapid answer.

OK so gdmd gone from gdc, but I don't see a gdmd package in Debian.  Is gdmd not packaged but just a downloadable thing?

-- 
Russel. ============================================================================= Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder@ekiga.net 41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel@winder.org.uk London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder


August 30, 2014
On Sat, 30 Aug 2014 17:47:47 +0100
Russel Winder via Digitalmars-d <digitalmars-d@puremagic.com> wrote:

> Is gdmd an ex-thing?
it is now in it's own repository: https://github.com/D-Programming-GDC/GDMD.git


August 30, 2014
On 30 Aug 2014 18:11, "Russel Winder" <russel@winder.org.uk> wrote:
>
> Iain,
>
> On Sat, 2014-08-30 at 18:07 +0100, Iain Buclaw wrote:
> […]
> >
> > Yes, gdmd is no longer integrated.  Is now an external tool.
>
> Thanks muchly for the very rapid answer.
>
> OK so gdmd gone from gdc, but I don't see a gdmd package in Debian.  Is gdmd not packaged but just a downloadable thing?

It's hosted on github under the gdc project.  Probably a bit outdated though.   I had hoped that someone would rewrite it in D, and a start was made, but never completed (I never saw a PR).

In any case, dub's existence means there's not much motivation.

Iain.


August 30, 2014
On Sat, 30 Aug 2014 18:20:42 +0100
Iain Buclaw via Digitalmars-d <digitalmars-d@puremagic.com> wrote:

> I had hoped that someone would rewrite it in D, and a start was made, but never completed (I never saw a PR).
funny thing is that i made the exact opposite: wrote "kdmd" which translates dmd args to gdc args.

and forked rdmd, then converted it to rgdc and made rgdc use my "-fwrite-pragma-libs=" patch.

maybe i should write "gdmd" too, just for completeness sake. ;-)


August 30, 2014
On Sat, 2014-08-30 at 20:48 +0300, ketmar via Digitalmars-d wrote: […]
> maybe i should write "gdmd" too, just for completeness sake. ;-)

Two alternatives I think:

1. Rewrite it in something other than Perl, D or Python mayhap. 2. Let it pass away into history.

-- 
Russel. ============================================================================= Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder@ekiga.net 41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel@winder.org.uk London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder


August 30, 2014
On 30 Aug 2014 18:49, "ketmar via Digitalmars-d" < digitalmars-d@puremagic.com> wrote:
>
> On Sat, 30 Aug 2014 18:20:42 +0100
> Iain Buclaw via Digitalmars-d <digitalmars-d@puremagic.com> wrote:
>
> > I had hoped that someone would rewrite it in D, and a start was made, but never completed (I never saw a PR).
> funny thing is that i made the exact opposite: wrote "kdmd" which translates dmd args to gdc args.
>

That isn't the opposite. That's what gdmd does.  Unless you mean translate gdc args to dmd.  :)

Iain.


August 31, 2014
On Sun, 31 Aug 2014 00:20:04 +0100
Iain Buclaw via Digitalmars-d <digitalmars-d@puremagic.com> wrote:

> That isn't the opposite. That's what gdmd does.  Unless you mean translate gdc args to dmd.  :)
sorry, i must sleep more. ;-)
sure, gdc->dmd conversion, to build my projects with dmd (i'm not using
dub and too lazy to add compiler selection to my build system).

here is rgdc, for example: http://repo.or.cz/w/rgdc.git
it can be built w/o '-fwrite-pragma-libs=' support and it needs .rc
file, but it works.

ah, and it can't be built with current GDC, 'cause i'm using MonoTime which appears in 2.066. ;-) i ported it back to GDC, but never bother to publish patch, 'cause it will be obsoleted when GDC moves to 2.066 anyway.


August 31, 2014
On 30/08/14 21:34, Russel Winder via Digitalmars-d wrote:
> On Sat, 2014-08-30 at 20:48 +0300, ketmar via Digitalmars-d wrote:
> […]
>> maybe i should write "gdmd" too, just for completeness sake. ;-)
>
> Two alternatives I think:
>
> 1. Rewrite it in something other than Perl, D or Python mayhap.
> 2. Let it pass away into history.

FWIW I've continued using the perl script with no apparent problems.  Though my dmd-esque flags don't get very adventurous, so perhaps I'm just not bumping into problems that might exist ;-)