User Tools

Site Tools


mywiki:linux:crosscompile

Table of Contents

Cross Compile for Embedded System (MIPS)

PHP-CGI

../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/

lighttpd

CC=“mips-linux-gcc -I/tmp/rootfs/lighttpd/include -L/tmp/rootfs/lighttpd/lib” LD=“mips-linux-ld -L/tmp/rootfs/lighttpd/lib” ./configure –target=mips-linux –host=mips-linux –without-zlib –prefix=/tmp/rootfs/lighttpd –without-bzip2 –disable-ipv6 –with-pcre=/tmp/rootfs/lighttpd/lib/

make

For detail, refer to lighttpd Porting Detail

mywiki/linux/crosscompile.txt · Last modified: by 127.0.0.1