Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 34078 invoked from network); 16 Jun 2006 10:24:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Jun 2006 10:24:39 -0000 Received: (qmail 65638 invoked by uid 500); 16 Jun 2006 10:24:32 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 65589 invoked by uid 500); 16 Jun 2006 10:24:32 -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 65571 invoked by uid 99); 16 Jun 2006 10:24:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jun 2006 03:24:32 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 64.74.244.71 is neither permitted nor denied by domain of geir@pobox.com) Received: from [64.74.244.71] (HELO chi.mobile-health-diary.com) (64.74.244.71) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 16 Jun 2006 03:24:31 -0700 Received: (qmail 27663 invoked from network); 16 Jun 2006 10:24:09 -0000 Received: from ool-43560edb.dyn.optonline.net (HELO ?192.168.1.102?) (geir@67.86.14.219) by b014.internal.mobile-health-diary.com with SMTP; 16 Jun 2006 10:24:09 -0000 Message-ID: <449286C8.3030705@pobox.com> Date: Fri, 16 Jun 2006 06:24:08 -0400 From: Geir Magnusson Jr Reply-To: geir@pobox.com User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: harmony-dev@incubator.apache.org Subject: Re: [drlvm] apr question (linux) References: <44921709.3060504@pobox.com> <2c1cfe8b0606160157m338bb892nd08efb682a9b38af@mail.gmail.com> In-Reply-To: <2c1cfe8b0606160157m338bb892nd08efb682a9b38af@mail.gmail.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Nataly Naumova wrote: > On 6/16/06, Geir Magnusson Jr wrote: >> Why exactly is APR slightly massaged and then specially built? >> >> Why can't we just do the regular ./configure -> make sequence to build >> it? > > Hi Geir, > > here's the reason of not building *extra* things by their own build. > Initially there was a concept not to use own build for every *extra* > things, such as APR or CLASSLIB in order to support different > compilers and configurations. For APR it was not trivial to build it > in different modes (debug/release, different compilers etc.), that was > required for building DRLVM. For CLASSLIB it was done primary for the > same reasons and it was really easy to specify a compiler and a mode > to build. > So we have written our own builds for such *extra* things (as a part > of drlvm build). But in the APR case it was impossible to produce the > same building as APR did on linux. So the compromise decision was done > to invoke the APR configure, and then to build using drlvm build. Such > decision may be considerred as a hack, but it really simplifies the > building for different configurations (debug/release), different > compilers, etc. > But you can try to build APR using its own build (make-based), but > please be sure that it will be able to build in debug/release > configurations and it will be very good if it will be possible to > build by different compilers (msvc/icl/gcc/icc), not only by default > compilers. Thanks. That's a perfectly reasonable explanation :) with the unpleasant side effect of putting a lot of work on my shoulders :) I'm all for supporting both issues. I would guess that debug/release is easy (or should be) but the compiler thing may be another story. I don't know. What I'd like to do is reduce the amount of maintenance that we have to do, so that as the depdencies evolve and change, we don't have to worry as much. It's also easier when we have some issue to not start off a problem with "when using our custom build of your project...." I also think that we can engage w/ the APR community (for example) to offer tweaks that we need that don't hurt anyone else... geir --------------------------------------------------------------------- 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