[uClibc] Cross-compiling PHP

Gustavo Guillermo Pérez gustavo at compunauta.com
Sun Jun 12 08:55:05 UTC 2005


El Domingo, 5 de Diciembre de 2004 22:11, Mitch Davis escribió:
> Hello,
>
> I have been experimenting with running PHP 4.3.9 in a
> uClibc environment.  To build it, I've been chrooting
> into the uClibc image root, and compiling it there.
> Compiling PHP natively in this environment means I have
> to also build binutils_target, gcc_target, flex, bison
> and make.
>
> Has anyone succeeded in *cross-compiling* PHP to run
> under uClibc?
>
> I've tried tricking configure on the host with a
> config.cache generated on the target.  Cached items
> are correctly picked up, but the PHP configure script
> still wants to run some test binaries (which of course,
> fail on the host).
>
> Any ideas?
I compile sucess PHP 4.3.11 but building php 5.0 I got error 
loading /lib/libc.so.6 aborting, you want to share issues?.

cheers

-- 
Gustavo Guillermo Pérez
Compunauta uLinux
www.ulinux.tk



More information about the uClibc mailing list