Re: php5 as universal binary (Mac OS X)

From: Date: Mon, 13 Aug 2007 10:09:28 +0000
Subject: Re: php5 as universal binary (Mac OS X)
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-31544@lists.php.net to get a copy of this message
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


« previous php.internals (#31544) next »