From dev-return-22470-apmail-apr-dev-archive=apr.apache.org@apr.apache.org Mon Oct 19 12:18:45 2009 Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 31369 invoked from network); 19 Oct 2009 12:18:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Oct 2009 12:18:45 -0000 Received: (qmail 93350 invoked by uid 500); 19 Oct 2009 12:18:44 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 93256 invoked by uid 500); 19 Oct 2009 12:18:44 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 93248 invoked by uid 99); 19 Oct 2009 12:18:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Oct 2009 12:18:44 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.132.183.28] (HELO mx1.redhat.com) (209.132.183.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Oct 2009 12:18:36 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9JCIEK4022492 for ; Mon, 19 Oct 2009 08:18:15 -0400 Received: from fc11x64m0.jboss.hr (vpn-10-43.str.redhat.com [10.32.10.43]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n9JCIDhQ030786 for ; Mon, 19 Oct 2009 08:18:14 -0400 Message-ID: <4ADC5905.1050000@apache.org> Date: Mon, 19 Oct 2009 14:18:13 +0200 From: Mladen Turk User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20091014 Fedora/3.0-2.8.b4.fc11 Thunderbird/3.0b4 MIME-Version: 1.0 To: dev@apr.apache.org Subject: Re: Mac OS X Universal builds and APR References: <7C3576B5-1E57-4E63-BAFC-3B0C3AFA50BF@jaguNET.com> <368F2942-58B7-4D14-ACF7-B23901522797@jaguNET.com> <4ADC0CF7.1010804@apache.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-Virus-Checked: Checked by ClamAV on apache.org On 19/10/09 13:28, Jeff Trawick wrote: >> >> What about simply making apr.h/apu.h as a stubs >> for apr-$CPU.h >> >> > > (I don't yet see how we can make a useful contribution on other > aspects of multi-architecture support -- fat binary or multiple > bin/lib/build directories or ....) > > The bottom line is that for each particular platform we could end up in only two distinct data models. Well in theory that can spread to five of them (LP64,ILP64,LLP64,ILP32,LP32) but AFAICT each platform basically supports only two distinctive. Anyhow, APR currently lacks the configure options for at least specifying data model (using CFLAGS=-m32 && ./configure is a little bit awkward and nowhere documented) Resolving that would certainly be one small step helping packagers to solve some of the multi-arch issues. Regards -- ^TM