Cross compiling php -


i'm trying cross compile php arm , have progress i'm totally stuck wants run php (have no idea why). arm binary , not intel (my building platform) won't run:

/bin/sh: /path-to-build/sapi/cli/php: cannot execute binary file 

how can fix this? configure script understood i'm cross compiling didn't (from configure log):

checking whether c compiler (/path-to-compiler/arm-none-linux-gnueabi-gcc) cross-compiler... yes 

i'm compiling php-5.3.6 configure command line:

export cc=/path-to-cc/arm-none-linux-gnueabi-gcc ../configure --prefix=/prefix-path/ --host=arm-none-linux-gnueabi              --disable-libxml --disable-dom --disable-openssl              --without-iconv --without-openssl --disable-simplexml              --disable-xml --disable-xmlreader --disable-xmlwriter              --without-pear --without-sqlite --without-sqlite3              --disable-pdo --without-pdo-sqlite 

i able resolve own disabling phar. hope disabling modules won't break internal.


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -