Re: Problem with compile 32bit on AMD64-Bit LINUX
| From: | Mark Galbreath | Date: | Sat, 25 Feb 2006 22:19:23 +0000 |
| Subject: | Re: Problem with compile 32bit on AMD64-Bit LINUX | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-17100@lists.php.net to get a copy of this message | ||
ya know, as we all move to 64-bit systems, these kinds of probs are going to reoccur. There should
be a 64-bit FAQ created for stuff like this.
mark
>>> Joerg Eggers <joerg.eggers@web.de> 25-Feb-06 10:13:23 AM >>>
Now I found a solution.
I need to set the Variable CC to "gcc -m32" and set the target within
the configure-script.
Joerg Eggers schrieb:
> This happens only if I use "--with-apxs2=...", without this it creates
> 32bit bins and libs for PHP. The apxs is also a 32Bit-Application.
>
> It is not of interest, if it is an Intel EM64T- or an AMD64-System.
>
> So this doesn't work:
> On a 64Bit-System it seems not to be possible to create a 32Bit-Apache
> with a 32Bit PHP as shared object.
>
> Any ideas?