交叉编译 x264

下载源码:
http://kambing.ui.ac.id/videolan/x264/snapshots/

mipsel for openwrt架构:

CC=mipsel-openwrt-linux-gcc ./configure --enable-pthread --enable-static --disable-shared --host=mipsel-openwrt-linux --disable-asm --prefix=$PWD/tmp
make
make install

x86 for Ubuntu架构:

./configure --enable-pthread --enable-static --disable-shared --disable-asm --prefix=$PWD/tmp
make
make install

你可能感兴趣的:(h264)