Re: php for android

From: Date: Sun, 10 Jan 2010 13:24:38 +0000
Subject: Re: php for android
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-46616@lists.php.net to get a copy of this message
On Sun, 10 Jan 2010, Antony Dovgal wrote: > On 01/10/2010 12:45 AM, Moshe Doron wrote: > > Quit easy porting, here the instructions: > > > > http://www.icomsw.com/~moshe/php-android.php > > -CC = gcc > +CC = /home/git/arm-2009q3/bin/arm-none-linux-gnueabi-gcc > -CPP = gcc -E > +CPP = /home/git/arm-2009q3/bin/arm-none-linux-gnueabi-gcc -E > > Such kind of changes is not necessary, you can do it with CC=<path to > gcc> LD=<path to ld> ./configure ... > > If you remove that, there are only two parts that seem to be really ARM-specific: > 1) -export-dynamic -> -all-static > 2) a patch for zend_float.h > Both of them are not clear to me, would you care to explain why are they needed? I actually didn't need *any* modifications to get PHP to compile on my ARM (mobile phone) except for turning of optimizations for Zend/zend_parser.c and ext/date/lib/parse_date.c because I didn't have enough memory. regards, Dreick -- http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org twitter: @derickr

« previous php.internals (#46616) next »