debian 交叉编译 pcre

使用上次编译的 交叉编译工具链来编译pcre 如果,没建立交叉编译环境的先阅读

编译工具链子制作神器 – crosstool-ng

下面开始编译

wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.40.tar.gz
tar zxf pcre-8.40.tar.gz
cd pcre-8.40
export PATH="${PATH}:${HOME}/x-tools/mipsel-superman-linux-gnu/bin"
./configure --host=mipsel-linux-gnu --prefix=${HOME}/x-tools/mipsel-superman-linux-gnu --enable-utf8 --enable-unicode-properties
make
make install

另一种安装方式

cd ~
cd build
wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.40.tar.gz
tar zxf pcre-8.40.tar.gz
cd pcre-8.40
export PATH="${PATH}:${HOME}/x-tools/mipsel-superman-linux-gnu/bin"
./configure --host=mipsel-linux-gnu --prefix=${HOME}/x-tools/mipsel-superman-linux-gnu --enable-utf8 --enable-unicode-properties
make
make install
cd ../

直接安装到工具链中。

未经允许不得转载:SuperMan's blog » debian 交叉编译 pcre

评论 1

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
  1. coleconfigure: error: You need a C++ compiler for C++ support. ct-ng安装顺利,请问应当如何分析?回复