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

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Mon Aug 12 17:41:01 PDT 2013


On 8/12/13 4:18 PM, Walter Bright wrote:
> 3. Make doesn't come preinstalled on Windows. But we have a make we can
> throw in the bin directory without issues. It's only 50K. Nobody goes
> out of their way - it's there on the same path as dmd. It's always the
> right version of make to use with our makefiles. We're not going to get
> into the Python distribution business.
>
...
>
> We did have a problem on FreeBSD because the default make on it would
> not work with posix.mak. gmake had to be explicitly installed. The only
> saving grace there is that very few people use FreeBSD, and those that
> do, tend to be pretty handy with installing gmake.

 From these two paragraphs above it seems that distributing a 
statically-linked version of gmake instead of the current make would be 
a possible solution. It is bigger but that shouldn't matter.

Then we get to build on all supported OSs with posix.mak.

Given that gmake is GNU-licensed, would that be a problem?


Andrei



More information about the Digitalmars-d mailing list