harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geir Magnusson Jr <g...@pobox.com>
Subject Re: [classlib] debug compilation as default
Date Fri, 07 Jul 2006 03:42:32 GMT

Mark Hindess wrote:
> On 7 July 2006 at 0:43, "Ivan Volosyuk" <ivan.volosyuk@gmail.com> wrote:
>> On 7/7/06, Gregory Shimansky <gshimansky@gmail.com> wrote:
>> I can make this patch. One question, is it ok to have same property as
>> DRLVM for release mode? Like this:
>>   BUILD_CFG=release
> I'm happy with release and debug but the top-level interface (and
> the module-level interface too for that matter) is ant - make should 
> not be called directly - so it will probably need to be an ant property.

I'm perfectly happy w/ this at high level.

> I was thinking:
> 1) adding a 'hy.native.cfg' property to make/properties.xml
> 2) converting this in to an environment variable so what like hy.hdk 
>    gets converted to HY_HDK.

Can we please stop with this "HY" stuff?  The project is "Harmony".

> 3) adding !if/ifeq directives in defines.mak and makefile.include to
>    define the CFG_CFLAGS and CFG_LDFLAGS with just the subset of flags
>    for debug/optimisation.
> 4) breaking up the existing flags variables and defining them in terms
>    of separate defines for different types of flags CFG flags, warning
>    flags, etc.
> That's just my first thoughts I'd might not end up doing it quite like
> that if I actually tried to do it. ;-)

Is that overspecifying it for a first run?  Just having "debug/release"
would be cool to start.


Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org

View raw message