在编译glibc第一遍时报错
时间:2007-05-17 来源:loughsky
发现创建交叉编译工具链与LSF十分的相似
/home/e11963/szw/intel/control-project/daq-module/build-tools/build-glibc/>CC=i386-linux-gcc ../glibc-2.3.4/configure --host=$TARGET --prefix="/usr" --enable-add-ons --disable-profile --enable-kernel=2.6.0 --with-binutils=$PREFIX/bin --without-gd --with-headers=$TARGET_PREFIX/include --without-selinuxforced
checking for i386 TLS support... yes
running configure fragment for nptl/sysdeps/unix/sysv/linux
running configure fragment for nptl/sysdeps/pthread
checking for forced unwind support... no
configure: error: forced unwind support is required
问题在于gcc3.x以上的,需要内核在2.6以上。
checking for i386 TLS support... yes
running configure fragment for nptl/sysdeps/unix/sysv/linux
running configure fragment for nptl/sysdeps/pthread
checking for forced unwind support... no
configure: error: forced unwind support is required
问题在于gcc3.x以上的,需要内核在2.6以上。
相关阅读 更多 +