Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31544 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93940 invoked by uid 1010); 13 Aug 2007 10:09:39 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 93925 invoked from network); 13 Aug 2007 10:09:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Aug 2007 10:09:39 -0000 Authentication-Results: pb1.pair.com header.from=kleinweby@kleinweby.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=kleinweby@kleinweby.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain kleinweby.de from 80.86.80.121 cause and error) X-PHP-List-Original-Sender: kleinweby@kleinweby.de X-Host-Fingerprint: 80.86.80.121 lvps80-86-80-121.kwm-web.info Received: from [80.86.80.121] ([80.86.80.121:50861] helo=lvps80-86-80-121.kwm-web.info) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 27/10-26820-FDD20C64 for ; Mon, 13 Aug 2007 06:09:36 -0400 Received: from [192.168.2.21] (pD9EA74B8.dip.t-dialin.net [217.234.116.184]) by lvps80-86-80-121.kwm-web.info (Postfix) with ESMTP id 01B982D4418; Mon, 13 Aug 2007 12:09:31 +0200 (CEST) In-Reply-To: <000001c7da9e$e1e35b10$0201a8c0@VEGA> References: <1185527744.6559.6.camel@kleinweby-laptop> <46A9BEC4.5040803@zend.com> <000001c7d038$264a54a0$4cf96686@VEGA> <46A9C98D.4000208@zend.com> <000301c7d048$b758c7a0$4cf96686@VEGA> <46BAD8E8.9000907@zend.com> <000001c7da9e$e1e35b10$0201a8c0@VEGA> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: <4EB97551-456D-48A8-A955-9E741B3D1996@kleinweby.de> Cc: internals@lists.php.net Content-Transfer-Encoding: 7bit Date: Mon, 13 Aug 2007 12:09:28 +0200 To: Uwe Schindler , Antony Dovgal X-Mailer: Apple Mail (2.752.3) Subject: Re: [PHP-DEV] php5 as universal binary (Mac OS X) From: kleinweby@kleinweby.de (Christian Speich) hello again, so now i have the test results :) (I dont have an ppc mac, so i ask an friend) And it dosn't work! When i configure it on an intel mac, the WORDS_BIDENDIAN macro will never definied. But i need to define this macro when the compiler runs the ppc-compile. I think the code should look like this: if (defined(__APPLE__) || defined(__APPLE_CC__)) && (defined (__BIG_ENDIAN__) || defined(__LITTLE_ENDIAN__)) # if defined(__LITTLE_ENDIAN__) # undef WORDS_BIGENDIAN # else if defined(__BIG_ENDIAN__) # define WORDS_BIGENDIAN # endif #endif I will test it later. kleinweby Am 09.08.2007 um 18:03 schrieb Uwe Schindler: > Hi Antony, > > the problem is that my VMWare-patched MacOSX is corrupt. I have to > reinstall > it and also install XCode. And my "official Mac" is a PowerPc one that > cannot create universal binaries. It could be better for a fast > answer to > ask the person (Christian Speich) who originally asked for help to > test your > patch. > > ----- > Uwe Schindler > thetaphi@php.net - http://www.php.net > NSAPI SAPI developer > Bremen, Germany > >> -----Original Message----- >> From: Antony Dovgal [mailto:antony@zend.com] >> Sent: Thursday, August 09, 2007 11:06 AM >> To: Uwe Schindler >> Cc: internals@lists.php.net >> Subject: Re: [PHP-DEV] php5 as universal binary (Mac OS X) >> >> Uwe, could you plz test this patch? >> http://dev.daylessday.org/diff/macos_uni.diff >> >> Thanks. >> >> On 27.07.2007 16:21, Uwe Schindler wrote: >>> On >>> >> http://developer.apple.com/documentation/Porting/Conceptual/ >> PortingUnix/co >> mp >>> iling/chapter_4_section_3.html Apple states: >> >> -- >> Wbr, >> Antony Dovgal >