K1two2's Geek Hub


NEET
Independent Researcher
Osmocom-bb系统编译

Ubuntu 12.04.5 LTS i386环境下编译

http://osmocom.org/projects/baseband/wiki/GnuArmToolchain

https://osmocom.org/projects/libosmocore/wiki/Libosmocore

http://osmocom.org/projects/baseband/wiki/Software_Getting_Started

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 make install ldconfig -i cd .. --------------------------------------------------------------------------
cd /opt git clone git:
//git.osmocom.org/osmocom-bb.git cd osmocom-bb git checkout --track origin/luca/gsmmap cd src make

posted on 2015-10-21 23:04  K1two2  阅读(1073)  评论(0编辑  收藏  举报

版权声明:如果网站侵犯了您的合法著作权宜,请发送邮件至我,经核实后,我会在24小时内删除该资源!