gdmd does not work on Windows

Anders F Björklund afb at algonet.se
Thu Aug 14 04:27:09 PDT 2008


Nicolay Korslund wrote:

>> The "gdmd.bat" script was created by running pl2bat on gdmd, BTW.
> 
> Hi. The problem now isn't really the perl dependency, but the fact
> that it doesn't work at all with DSSS. It requires a gdmd.exe file,
> and the bat file didn't work for me.

Hmm, that seems more like a DSSS problem. Maybe it could be
convinced to use the real deal instead of using the wrapper ?

>> Maybe something awful like rewriting it in a compiled languge has to
>> be done (did that for the wxD shell scripts), to cut down on depends ?
> 
> An alternative might be to use something like
> perlbin:http://perlbin.sourceforge.net/ . It creates a small stand-alone
> executable that embeds the script, and uses perl (as a library) to run
> it. Might be a perfect quick fix for running Perl scripts on ..
> troublesome platforms :) I haven't tested it though.

Seems like a kludge, but might do the trick too I suppose...
"And that's all perlbin is. A small stub executable (about 20k)
requireing a perl dynamic link library (about 700kb) [...]"
Seems like a lot of overhead* for that little syntax wrapper.

* OK, so the Perl installer is like 15M but that's different ;-)

> On the other hand the gdmd script isn't that big, and rewriting it to
> our favorite language would seem like an appropriate place to show off
> the language, since it is a D compiler after all. I might make it a
> weekend project of mine sometime.

Probably time to get that unit test and regression suite in
place, if there are going to be several of "gdmd" around...

--anders


More information about the D.gnu mailing list