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
[EMAIL PROTECTED] - http://www.php.net
NSAPI SAPI developer
Bremen, Germany

-----Original Message-----
From: Antony Dovgal [mailto:[EMAIL PROTECTED]
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


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to