arm-gcc-linux
arm@ubuntu:~/dev_home/btools/tchain3.4.4$ patch -d glibc-2.3.5 -p1 < ioperm.c.diff
arm@ubuntu:~/dev_home/btools/tchain3.4.4$ cd glibc-2.3.5
arm@ubuntu:~/dev_home/btools/tchain3.4.4/glibc-2.3.5$ tar zxvf ../glibc-linuxthreads-2.3.5.tar.gz
arm@ubuntu:~/dev_home/btools/tchain3.4.4/glibc-2.3.5$ cd ..
arm@ubuntu:~/dev_home/btools/tchain3.4.4$ mkdir -p BUILD/glibc-2.3.5-headers
arm@ubuntu:~/dev_home/btools/tchain3.4.4$ cd BUILD/glibc-2.3.5-headers/
arm@ubuntu:~/dev_home/btools/tchain3.4.4/BUILD/glibc-2.3.5-headers$ ../../glibc-2.3
.5/configure --prefix=/usr --host=${TARGET} --enable-add-ons=linuxthreads
--with-headers=${SYSROOT}/usr/include
arm@ubuntu:~/dev_home/btools/tchain3.4.4/BUILD/glibc-2.3.5-headers$ su root
root@ubuntu:/home/arm/dev_home/btools/tchain3.4.4/BUILD/glibc-2.3.5-headers#
make cross-compiling=yes install_root=${SYSROOT} install-headers
root@ubuntu:/home/arm/dev_home/btools/tchain3.4.4/BUILD/glibc-2.3.5-headers#
touch ${SYSROOT}/usr/include/gnu/stubs.h
root@ubuntu:/home/arm/dev_home/btools/tchain3.4.4/BUILD/glibc-2.3.5-headers#
touch ${SYSROOT}/usr/include/bits/stdio_lim.h
root@ubuntu:/home/arm/dev_home/btools/tchain3.4.4/BUILD/glibc-2.3.5-headers#
exit
arm@ubuntu:~/dev_home/btools/tchain3.4.4/BUILD/glibc-2.3.5-headers$
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说教育文库arm-gcc-linux(9)在线全文阅读。
相关推荐: