Osmocom-bb系统编译[转]

Ubuntu 12.04.5 LTS i386环境下编译
sudu su
————————————————————————–
cd /opt
mkdir GnuArmToolchain
cd GnuArmToolchain
wget http://bb.osmocom.org/trac/raw-attachment/wiki/GnuArmToolchain/gnu-arm-build.3.sh
chmod +x gnu-arm-build.3.sh

mkdir build install src
cd src
wget http://ftp.gnu.org/gnu/gcc/gcc-4.8.2/gcc-4.8.2.tar.bz2
wget http://ftp.gnu.org/gnu/binutils/binutils-2.21.1a.tar.bz2
wget ftp://sources.redhat.com/pub/newlib/newlib-1.19.0.tar.gz

apt-get install build-essential libgmp3-dev libmpfr-dev libx11-6 libx11-dev texinfo flex bison libncurses5 libncurses5-dbg libncurses5-dev libncursesw5 libncursesw5-dbg libncursesw5-dev zlibc zlib1g-dev libmpfr4 libmpc-dev

cd /opt/GnuArmToolchain
./gnu-arm-build.3.sh(提示:Press ^C now if you do NOT want to do this.)按回车

等待ing….

提示:Build complete! Add /opt/GnuArmToolchain/install/bin to your PATH to make arm-none-eabi-gcc and friends
accessible directly.(编译完成)

echo “export PATH=\$PATH:/opt/GnuArmToolchain/install/bin”>>/root/.bashrc
source /root/.bashrc
————————————————————————–
cd /opt
apt-get install build-essential libtool shtool autoconf automake git-core pkg-config make gcc libpcsclite-dev libtalloc-dev

git clone git://git.osmocom.org/libosmocore.git
cd libosmocore/
autoreconf -i
./configure
make install
cd ..
ldconfig
————————————————————————–
cd /opt
git clone git://git.osmocom.org/osmocom-bb.git
cd osmocom-bb
git checkout –track origin/luca/gsmmap
cd src
make

关于xmsg

技术面前人人平等.同时技术也不分高低贵贱.正所谓学无大小,达者为尊.
此条目发表在C/C++, Linux, SDR分类目录,贴了, , , 标签。将固定链接加入收藏夹。