[DGD] DGD For MSys, mark 2

Felix A. Croes felix at dworkin.nl
Mon Jan 28 13:31:53 CET 2013


Jared Maddox <absinthdraco at gmail.com> wrote:

>[...]
> Are you sure that LIBS=-ldl is correct for Windows? I haven't tried
> your latest commit yet, so I can't say for certain myself.

It is a sensible default, later changed for the WIN32 platform in
the same way it is changed for FREEBSD and SOLARIS.  Your removal would
break compilation on most other platforms.


>[...]
> > You are right, it would be good to have a brief comment about the location
> > in the Makefile.
> >
>
> Done (well, in my non-current copy), though it would be good to get
> some editing on the actual message. It's wordy, and I worry about the
> tone.

All that is really needed is a brief comment to explain that OS is already
set to Windows_NT on the MSys platform at that point, and that the value
it gets later is not helpful.


>[...]
> > A related issue that you may also want to tackle: a.exe is a poor name
> > for the executable on Windows, and a.out is gradually becoming a poor
> > name on unix (few remember or care that it's the default linker output).
> > It would be a good idea to change the default binary to dgd on unix, and
> > dgd.exe on Windows.
> >
>
> Done, though for a few minutes I had it saved as dgd.out (oops).

I believe that the usual way of handling it is to have an EXE macro, set
to .exe on Windows and empty on other platforms.

Regards,
Felix Croes



More information about the DGD mailing list