Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46616 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24256 invoked from network); 10 Jan 2010 13:24:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jan 2010 13:24:42 -0000 Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.113.146.227 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.113.146.227 xdebug.org Linux 2.6 Received: from [82.113.146.227] ([82.113.146.227:50910] helo=xdebug.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5C/F5-12956-A15D94B4 for ; Sun, 10 Jan 2010 08:24:42 -0500 Received: from localhost (xdebug.org [127.0.0.1]) by xdebug.org (Postfix) with ESMTPS id 164AFDE13D; Sun, 10 Jan 2010 13:24:38 +0000 (UTC) Date: Sun, 10 Jan 2010 13:24:38 +0000 (GMT) X-X-Sender: derick@kossu.derickrethans.nl To: Antony Dovgal cc: Moshe Doron , internals@lists.php.net In-Reply-To: <4B49AE43.2000201@daylessday.org> Message-ID: References: <4B49AE43.2000201@daylessday.org> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] php for android From: derick@php.net (Derick Rethans) 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= 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