Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31299 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63329 invoked by uid 1010); 27 Jul 2007 10:47:52 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 63313 invoked from network); 27 Jul 2007 10:47:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Jul 2007 10:47:52 -0000 Authentication-Results: pb1.pair.com header.from=planetbeing@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=planetbeing@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 66.249.90.179 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: planetbeing@gmail.com X-Host-Fingerprint: 66.249.90.179 ik-out-1112.google.com Received: from [66.249.90.179] ([66.249.90.179:26773] helo=ik-out-1112.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 63/22-42465-65DC9A64 for ; Fri, 27 Jul 2007 06:47:51 -0400 Received: by ik-out-1112.google.com with SMTP id c28so653524ika for ; Fri, 27 Jul 2007 03:47:47 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FGbbpzi1I0/f4QQGOyYR1YkN6W0pQpPYgi6xb5SWYFqQpaKHD969Z+H+2bMC4uYKOuCi1gUOsHTz4At0mRkySQO/SAeGQnfuDS51XbJ/7gQtKArRVs9+dvTqYWNivbNue3ZYOhM+KXWwk+5vT0EliOfn8hL5tDkEYKedMDMpb2E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mUDZUWBqiH7/rRfZdMr2d/oaAsrrWslgMy5F97MsExHVGD1GBAoKMPZULkCxvoeFJVD9l68eciTMI3svOHz85kSKz4Qgzz+FBhSx9EPoHziIvJqUSjiEztlWHdnfZ++8WnDg8co6R4Lspu12rCp691LsBsQDmgOMXojvkIDMsDA= Received: by 10.78.81.20 with SMTP id e20mr714467hub.1185533267232; Fri, 27 Jul 2007 03:47:47 -0700 (PDT) Received: by 10.78.135.4 with HTTP; Fri, 27 Jul 2007 03:47:47 -0700 (PDT) Message-ID: Date: Fri, 27 Jul 2007 03:47:47 -0700 To: "Uwe Schindler" Cc: internals@lists.php.net In-Reply-To: <000001c7d038$264a54a0$4cf96686@VEGA> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1185527744.6559.6.camel@kleinweby-laptop> <46A9BEC4.5040803@zend.com> <000001c7d038$264a54a0$4cf96686@VEGA> Subject: Re: [PHP-DEV] php5 as universal binary (Mac OS X) From: planetbeing@gmail.com ("David Wang") Isn't an universal binary just two binaries packaged together? One has to be compiled for Intel and the other for PowerPC. How exactly is this currently being done in a single run on Christian's machine? Is there a special build tool that runs the compilation twice or a special compiler that generates two binaries? Something tells me that you'd have to know how this tool works and this would not be an extremely easy thing to fix. On 7/27/07, Uwe Schindler wrote: > The simpliest would be to create a patch that is included *after* the > configure-generated .h file. I do not exactly now, in which PHP/Zend > specific .h file the configure generated php_config.h one is included, but > that would be the place to place the following macro: > > #if defined(MACOSX) (I do not know the exact macro for detecting osx) > # undef WORDS_BIGENDIAN > # define WORDS_BIGENDIAN __BIG_ENDIAN__ > #endif > > Just an idea. > Or just update to a newer autoconf version that can detect this (I know > newer ones do this correctly). But this is not possible for PHP.