--- In "sathiyan300" <> wrote:
>
> Hey Yan,
>
> can you tell me where I could get the source
http://www.php.net
> and crosscomplier?
I think TS has one on their website. I also have one:
http://seiner.com/ts7000/index.php/CrossCompileTools
> can you please give me some more info how to install php and any
> configuration I might need to do?
This is my buildscript for php-4.4.4 (it will most likely not work for
you; you will need to change it):
#!/bin/sh
echo Starting
export OPTIM=-O2
export CFLAGS="-O2 -msoft-float -L$ROOTDIR/$PLATFORM/lib
-I$ROOTDIR/../include"
export CC=arm-linux-gcc
export MING_DIR="../ming-0.3.0/"
make clean
./configure \
--host=arm-linux \
--target=arm-linux \
--build=i686-pc-linux-gnu \
--with-dom=$ROOTDIR/../src/libxml2-2.6.26 \
--with-zlib-dir=$ROOTDIR/$PLATFORM/lib \
--with-ming=$ROOTDIR/../src/ming-0.3.0 \
--disable-all \
--enable-session \
--enable-xml \
--enable-domxml \
--enable-sockets \
--enable-fastcgi \
--enable-ming \
--enable-force-cgi-redirect \
--enable-xcache \
--with-config-file-path=/etc \
--prefix=/ \
--exec-prefix=/bin \
\
&& make \
&& cp sapi/cgi/php $ROOTDIR/$PLATFORM/bin \
&& arm-linux-strip $ROOTDIR/$PLATFORM/bin/php
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|