Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 74133 invoked from network); 6 Jul 2006 17:38:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Jul 2006 17:38:22 -0000 Received: (qmail 1107 invoked by uid 500); 6 Jul 2006 17:38:15 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 1069 invoked by uid 500); 6 Jul 2006 17:38:15 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 1058 invoked by uid 99); 6 Jul 2006 17:38:15 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jul 2006 10:38:14 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of gshimansky@gmail.com designates 66.249.92.174 as permitted sender) Received: from [66.249.92.174] (HELO ug-out-1314.google.com) (66.249.92.174) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jul 2006 10:38:13 -0700 Received: by ug-out-1314.google.com with SMTP id q2so2310066uge for ; Thu, 06 Jul 2006 10:37:52 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:reply-to:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=Tl6sZQMfRiWW6WeFoD4sHvO6dUEszyqD0HcnWcqQc2ykVBwV0XWRvQCa0vRUoDeLiunZ8Fc01jbtVkzZs4zWe9S51ATsKZzYLGTj9+pTrCq+SHo9HtVV9G0KUWZFkZ8jedY0HQnXeJjmzF3ZEfw5FrN5ZvYOVGXhEKekeUlnbSY= Received: by 10.67.93.6 with SMTP id v6mr988131ugl; Thu, 06 Jul 2006 10:37:52 -0700 (PDT) Received: from ppp85-141-253-73.pppoe.mtu-net.ru ( [85.141.253.73]) by mx.gmail.com with ESMTP id c1sm954085ugf.2006.07.06.10.37.50; Thu, 06 Jul 2006 10:37:51 -0700 (PDT) From: Gregory Shimansky Reply-To: harmony-dev@incubator.apache.org To: harmony-dev@incubator.apache.org Subject: Re: [classlib] debug compilation as default Date: Thu, 6 Jul 2006 21:37:48 +0400 User-Agent: KMail/1.9.1 References: <44AC4F3D.5090509@pobox.com> <200607060448.39362.gshimansky@gmail.com> <44AD3844.4050308@gmail.com> In-Reply-To: <44AD3844.4050308@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200607062137.48883.gshimansky@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Thursday 06 July 2006 20:20 Tim Ellison wrote: > Gregory Shimansky wrote: > > On Thursday 06 July 2006 03:46 Geir Magnusson Jr wrote: > >> In HARMONY-681, I applied the patch to build DRLVM as debug by default, > >> but 'rejected' the classlib patch, as it's not overridable as the DRLVM > >> one is. > >> > >> I think that we'd like to be able to set a flag for release build, > >> rather than have to rummage about in each makefile and include. > >> > >> Yea? Nea? > > > > +1 for release flag when it is needed > > > > I support this as I also think that current classlib build system is > > rather primitive Btw no offense intended I meant only native part of the build system. Java part is fine to me. I think I didn't understand the original question well enough. Sure I think it would be good to have more than one mode to build native sources. > Don't mistake being simple with being primitive . It will need to > grow as we expand the amount of platform-dependent code, but I suggest > we try to keep things as simple as possible. > > > which is easy to alter by developers locally but isn't really meant > > to be a product build system. > > What do you mean? (I'll try to answer both your and Geir's question here) The build system for native code is really simple and has most things like even debug on/off mode hardcoded in the flags. It has just one fixed set of flags which don't include debug by default. If any change is required, makefiles have to be changed and I am sure I am not alone who altered them locally to produce debug version. I think we'll come to some sort of configure script but maybe not, it should be discussed separately. I agree that we need to improve it and add more flexible control over what it can produce, debug/release, different architectures, optimizations, maybe compilers. But discussing on the direction which this process should take (e.g. we may agree to add a configure script) may take a long time while a simple change to enable debugging by default doesn't since it seems most of the people agree that it is right thing to do. -- Gregory Shimansky, Intel Middleware Products Division --------------------------------------------------------------------- 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