Have Win DMD use gmake instead of a separate DMMake makefile?

Jonathan M Davis jmdavisProg at gmx.com
Sun Aug 11 00:11:14 PDT 2013


On Saturday, August 10, 2013 22:48:14 Walter Bright wrote:
> On 8/10/2013 4:21 PM, Jonathan M Davis wrote:
> > Another suggestion that I kind of liked was to just build them all with a
> > single script written in D and ditch make entirely, which would seriously
> > reduce the amount of duplication across platforms. But that's obviously a
> > much bigger change and would likely be much more controversial than
> > simply using a more standard make.
> 
> I don't see much point in that. The dmd build is straightforward, and I see
> no particular gain from reinventing that wheel.

Well, make is horrible, and while posix.mak is way better than win32.mak or 
win64.mak, it's still pretty bad. Personally, I would never use make without 
something like cmake in front of it. If we were to write up something in D, it 
could be properly cross-platform (so only one script instead of 3+), and I 
fully expect that it could be far, far cleaner than what we're forced to do in 
make.

- Jonathan M Davis


More information about the Digitalmars-d mailing list