HI Martin, Is it only file size you worry about or also memory footprint? I assume it'd also be the latter. If so, we can share a patch we've worked on which could allow you to reduce the memory footprint at compile time somewhat more (on the expense of performance, ...). We were going 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 device: reduce size 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-file-path=/etc/ Which options do I have to reduce size of the binary? E.g. can I remove the zend engine? Thanks in advance, Martin -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php