On 15.08.2007 17:13, Christian Speich wrote:
hello,
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__)
hello,
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
Yes
On 13.08.2007 14:09, Christian Speich wrote:
hello again,
so now i have the test results :) (I dont have an ppc mac, so i ask
an friend)
As far as I know, GCC on PPC is unable to generate universal binaries, so I
don't understand what exactly you were testing there..
And it dosn't work!
, 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/documenta
lto:[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:
s@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.co
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/comp
iling/chapter_4_section_3.html Apple states:
--
Wbr,
Antony Dovgal
--
PHP Int
.net
> > NSAPI SAPI developer
> > Bremen, Germany
> >
> > > -----Original Message-
> > > From: Antony Dovgal [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, July 27, 2007 11:46 AM
> > > To: internals@lists.php.net
> > > Subject: Re: [PH
inal Message-
> From: Antony Dovgal [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 27, 2007 12:32 PM
> To: Uwe Schindler
> Cc: internals@lists.php.net
> Subject: Re: [PHP-DEV] php5 as universal binary (Mac OS X)
>
> On 27.07.2007 14:23, Uwe Schindler wrote:
> &g
On 27.07.2007 14:47, David Wang wrote:
Isn't an universal binary just two binaries packaged together?
Yes.
One has to be compiled for Intel and the other for PowerPC.
GCC is able to build both on Intel.
How exactly is this currently being done in a single run on Christian's machine?
It
ctly). But this is not possible for PHP.
>
> -
> Uwe Schindler
> [EMAIL PROTECTED] - http://www.php.net
> NSAPI SAPI developer
> Bremen, Germany
>
> > -Original Message-
> > From: Antony Dovgal [mailto:[EMAIL PROTECTED]
> > Sent: Friday, July 27, 2007 11:46 A
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 genera
On 27.07.2007 14:23, 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 foll
PROTECTED] - http://www.php.net
NSAPI SAPI developer
Bremen, Germany
> -Original Message-
> From: Antony Dovgal [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 27, 2007 11:46 AM
> To: internals@lists.php.net
> Subject: Re: [PHP-DEV] php5 as universal binary (Mac OS X)
>
>
Just sponsor me with one of these Apple laptops and I can see what I can
do for it.. ;)
--Jani
On Fri, 2007-07-27 at 13:45 +0400, Antony Dovgal wrote:
> Intel Mac is little-endian, PPC Mac is big-endian.
> Endiannes is detected during configure run, that's why the binary works fine
> on Intel Ma
Intel Mac is little-endian, PPC Mac is big-endian.
Endiannes is detected during configure run, that's why the binary works fine on
Intel Mac, but not on PPC.
To make it work on both you either need to build separate binaries on PPC and Intel, and
then merge them (IIRC that was possible), or you
16 matches
Mail list logo