[原创]交叉编译工具出错,帮忙分析原因何在!

C、C++和Java语言
回复
头像
wpdzyx
帖子: 59
注册时间: 2007-06-10 7:40
送出感谢: 0
接收感谢: 0

[原创]交叉编译工具出错,帮忙分析原因何在!

#1

帖子 wpdzyx » 2007-10-04 9:31

用corsstool编译交叉工具时报告如下错误,请大虾们看看:
You set both LINUX_DIR and LINUX_SANITIZED_HEADER_DIR - ignoring LINUX_DIR
GCC_CORE_DIR not set, so using gcc-3.4.5 for bootstrap compiler
BINUTILS_EXTRA_CONFIG not set, so not passing any extra options to binutils' configure script
GCC_EXTRA_CONFIG not set, so not passing any extra options to gcc's configure script
GLIBC_EXTRA_ENV not set, so not passing any extra environment variables to glibc's configure script
GLIBC_EXTRA_CC_ARGS not set, so not passing any extra options to gcc when building glibc
EXTRA_TARGET_CFLAGS not set, so not passing any extra cflags to gcc when building glibc
USE_SYSROOT not set, so not configuring with --with-sysroot
GCC_BUILD not set, assuming BUILD=output of config.guess
GCC_HOST not set, assuming HOST=BUILD
SHARED_MODE not set, so defaulting to --enable-shared
GLIBC_ADDON_OPTIONS not set, so guessing addons from GLIBCTHREADS_FILENAME and GLIBCCRYPT_FILENAME
/home/wupeng/crosstool-0.43/crosstool.sh: 110: bison: not found
crosstool: You don't have bison installed


我的系统时ubuntu 7.04。
头像
nobrain
帖子: 808
注册时间: 2005-08-25 13:58
来自: ustc
送出感谢: 0
接收感谢: 0
联系:

#2

帖子 nobrain » 2007-10-05 10:06

sudo apt-get install bison
爱喝真猪奶茶的夜鸣猪
头像
wpdzyx
帖子: 59
注册时间: 2007-06-10 7:40
送出感谢: 0
接收感谢: 0

#3

帖子 wpdzyx » 2007-10-06 22:50

试过了,不行。不过还是谢谢。下载了编译好的工具,给不想自已编译toolchain的朋友提供方便:
http://www.codesourcery.com/
回复

回到 “C/C++/Java”