Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46618 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48885 invoked from network); 10 Jan 2010 15:50:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jan 2010 15:50:41 -0000 X-Host-Fingerprint: 95.35.67.249 unknown Received: from [95.35.67.249] ([95.35.67.249:28548] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 52/8A-12956-057F94B4 for ; Sun, 10 Jan 2010 10:50:41 -0500 Message-ID: <52.8A.12956.057F94B4@pb1.pair.com> To: internals@lists.php.net Date: Sun, 10 Jan 2010 17:50:35 +0200 User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 References: <4B49AE43.2000201@daylessday.org> In-Reply-To: <4B49AE43.2000201@daylessday.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 95.35.67.249 Subject: Re: [PHP-DEV] php for android From: momo@php.net (Moshe Doron) 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? > Hello, The static compile is due to the fact that in android there is replacment to the standard libc called "bionic". Since and i haven't yet managed to tell the CodeSourcery to link against bionic i linked all staticlly. bionic is something i need to face for allowing the php to interact with the local apache and for allowing the php to be embeded into the android ndk framework. I guess there some extra patching will need for it. Moshe