On Sat, Feb 19, 2011 at 9:24 PM, Martin Herrman <mar...@herrman.nl> 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=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?
Check Makefile and correct cc's -O setting to -Os before compiling. Is your binary stripped? -- Boris -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php