ng to send it out for review anyway so this could be it :)
Andi
-Original Message-
From: martin.herr...@gmail.com [mailto:martin.herr...@gmail.com] On Behalf Of
Martin Herrman
Sent: Saturday, February 19, 2011 10:25 AM
To: internals@lists.php.net
Subject: [PHP-DEV] PHP for embedded devi
2011/2/20 Daniel Brown :
> On Sun, Feb 20, 2011 at 10:42, Martin Herrman wrote:
>>
>> I already had --disabled-all. I have now tested with -Os instead of
>> -O2 which results in a 2.8MB executable. So that helps a bit :-)
>
> Try running `strip` on there to take out the excess symbols.
This is
On Sun, Feb 20, 2011 at 10:42, Martin Herrman wrote:
>
> I already had --disabled-all. I have now tested with -Os instead of
> -O2 which results in a 2.8MB executable. So that helps a bit :-)
Try running `strip` on there to take out the excess symbols.
--
Network Infrastructure Manager
Doc
On Sun, Feb 20, 2011 at 4:01 PM, Reindl Harald wrote:
>
>
> Am 20.02.2011 15:52, schrieb Martin Herrman:
> > 2011/2/20 Patrick E. :
> >
> >> php-cgi 5.2.x = ~2.4mb "./configure" without :
> >> ...
> >> --without-iconv \
> >> --without-pear \
> >> --without-gd \
> >> --disable-bcmath \
> >> --dis
On 2/20/11 7:42 AM, Martin Herrman wrote:
> 2011/2/20 Reindl Harald :
>
>> There are some more swicthes
>> --disable-all Disable all extensions which are enabled by default
>>
>> What about "--disable-all" followed by "--enable-feature" for all
>> you want to have?
>>
>> The follwoing are not ne
2011/2/20 Reindl Harald :
> There are some more swicthes
> --disable-all Disable all extensions which are enabled by default
>
> What about "--disable-all" followed by "--enable-feature" for all
> you want to have?
>
> The follwoing are not needed in most cases
> --disable-ipv6
> --disable-posix
Am 20.02.2011 15:52, schrieb Martin Herrman:
> 2011/2/20 Patrick E. :
>
>> php-cgi 5.2.x = ~2.4mb "./configure" without :
>> ...
>> --without-iconv \
>> --without-pear \
>> --without-gd \
>> --disable-bcmath \
>> --disable-libxml --disable-dom --disable-simplexml --disable-xml
>> --disable-xml
On Sat, Feb 19, 2011 at 9:24 PM, Martin Herrman wrote:
> All,
>
> I have cross-compiled php-cgi for a MIPS device (mediaplayer), but the
> binary is quite large, more than 3MB. I'm using:
>
> ./configure --prefix=../result/php-5.3.5 --host=i686-pc-linux-gnu
> --target=mipsel-linux-gnu --build=mips
2011/2/20 Reindl Harald :
> ./configure --help
>
> disable all things you do not need, but be careful as long you
> do not know what you doing since "I thought zend engine is an
> additional engine" sounds like you are missing basics
I'll go through the list of options again and disable everythin
2011/2/20 Patrick E. :
> php-cgi 5.2.x = ~2.4mb "./configure" without :
> ...
> --without-iconv \
> --without-pear \
> --without-gd \
> --disable-bcmath \
> --disable-libxml --disable-dom --disable-simplexml --disable-xml
> --disable-xmlreader --disable-xmlwriter --without-pear \
> --with-sqlit
Am 20.02.2011 11:09, schrieb Martin Herrman:
> 2011/2/20 Alexey Zakhlestin :
>
>> what do you mean by "remove the zend engine"?
>> zend engine is the core, upon which php is built.
>
> Ah, that explains a lot :-) I thought zend engine is an additional
> engine for performance reasons..
>
> Is
On Sun, Feb 20, 2011 at 11:09 AM, Martin Herrman wrote:
> Is there any other way to decrease binary size? (workaround is to put
> php-cgi on external storage)
php-cgi 5.2.x = ~2.4mb "./configure" without :
...
--without-iconv \
--without-pear \
--without-gd \
--disable-bcmath \
--disable-libxml
2011/2/20 Alexey Zakhlestin :
> what do you mean by "remove the zend engine"?
> zend engine is the core, upon which php is built.
Ah, that explains a lot :-) I thought zend engine is an additional
engine for performance reasons..
Is there any other way to decrease binary size? (workaround is to
On Sat, Feb 19, 2011 at 9:24 PM, Martin Herrman wrote:
> All,
>
> I have cross-compiled php-cgi for a MIPS device (mediaplayer), but the
> binary is quite large, more than 3MB. I'm using:
>
> ./configure --prefix=../result/php-5.3.5 --host=i686-pc-linux-gnu
> --target=mipsel-linux-gnu --build=mips
All,
I have cross-compiled php-cgi for a MIPS device (mediaplayer), but the
binary is quite large, more than 3MB. I'm using:
./configure --prefix=../result/php-5.3.5 --host=i686-pc-linux-gnu
--target=mipsel-linux-gnu --build=mipsel-linux-gnu --enable-cgi
--disable-all --without-pear --with-config
15 matches
Mail list logo