harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Salikh Zakirov <sal...@gmail.com>
Subject Re: [drlvm][PATCH/RFC] GNU Make-based build system for DRLVM
Date Wed, 01 Aug 2007 12:46:39 GMT
Gregory Shimansky wrote:
> Xiao-Feng Li wrote:
>> I highly support to have a Makefile based build system. Thanks for the
>> experiments! Only the nice "-j n" can make it a worth try.
> +1 I like it very much to use make for building native code. Ant just
> isn't made for it. One disadvantage to using GNU make and shell as
> opposed to nmake used in classlib is that on windows Cygwin environment
> becomes as requirement.

Not necessarily. There exist Mingw32 library and MSYS suite of tools
(GNU tools ported to Mingw32), which includes shell and coreutils.
We could potentially collect a minimum kit for running GNU Make, and
make it available, e.g. as a JIRA attachment. (That would be
redistribution of unmodified software under GPL)

Windows build then could probably download this kit if there is no
preinstalled one, or no Cygwin found, using the existing Ant-based
dependency fetching mechanics, which is not likely to go away soon.

... okay, wildly dreaming, of course. But at least it is possible.

And by the way, nmake build in classlib
1) *uses* hardcoded flattened source file lists
2) does not track dependencies on header files
3) builds in-place, thus makes it hard to reuse the same workspace on
multiple platforms

I guess every deficiency above can be addressed using some
NMake-specific tricks or some magic compiler flags, but it does
not look like a starter for DRLVM build system (as DRLVM developers
had alredy a number of build systems not suffering from any of the above)

View raw message