build glibc for omap 35xx

1. tar -xf glibc-2.10.1.tar.bz2

2. cd glibc-2.10.1

3. tar -xf ../glibc-ports-2.10.1

4.编译如下

export PATH=/media/disk2/opt/CodeSourcery/Sourcery_G++_Lite/bin/:$PATH

../glibc-2.10.1/configure --build=i386-pc-linux --host=arm-none-linux-gnueabi --prefix=/usr --enable-add-ons=nptl,glibc-ports-2.10.1

make

make install_root=/root/RootFiles/rootfs install


如出错,可能需要安装

sudo apt-get install gawk

你可能感兴趣的:(build glibc for omap 35xx)