Fedora-ARM
全部博文(241)
分类: LINUX
2010-03-19 00:04:32
libncurses5-dev bison flex texinfo automake libtool patch gcj cvs cvsd gawk svn (2011.09.16补充) |
mkdir crosstool-ng-X.Y.Z_build #这次编译新交叉编译器的工作目录 patch -p1 < <补丁文件> # 给crosstool-ng打补丁(如果有) ./configure --prefix=${CROSSTOOLNG}/crosstool-ng-X.Y.Z_install #配置crosstool-ng |
cd ${CROSSTOOLNG}/crosstool-ng-X.Y.Z_build/ #进入编译新交叉编译器的工作目录 #拷贝默认配置文件到工作目录 mv crosstool.config .config #修改文件名 ../crosstool-ng-X.Y.Z_install/bin/ct-ng menuconfig 进入menuconfig,开始修改配置。 |
man ./gcc.1 |
...... ...... |
[INFO ] ================================================================= [INFO ] Installing final compiler [EXTRA] Configuring final compiler [EXTRA] Building final compiler [ERROR] jar: internal error: [ERROR] make[4]: *** [libgcj-4.3.2.jar] Error 1 [ERROR] make[3]: *** [all-recursive] Error 1 [ERROR] make[2]: *** [all-target-libjava] Error 2 [ERROR] make[1]: *** [all] Error 2 [ERROR] Build failed in step 'Installing final compiler' [ERROR] Error happened in '/home/tekkaman/development/research/crosstool-ng/crosstool-ng-1.6.1_install/lib/ct-ng-1.6.1/scripts/functions' in function 'CT_DoExecLog' (line unknown, sorry) [ERROR] called from '/home/tekkaman/development/research/crosstool-ng/crosstool-ng-1.6.1_install/lib/ct-ng-1.6.1/scripts/build/cc/gcc.sh' at line # 350 in function 'do_cc' [ERROR] called from '/home/tekkaman/development/research/crosstool-ng/crosstool-ng-1.6.1_install/lib/ct-ng-1.6.1/scripts/crosstool-NG.sh' at line # 562 in function 'main' [ERROR] Look at '/home/tekkaman/development/x-tools/arm-tekkaman-linux-gnueabi/build.log' for more info on this error. [ERROR] (elapsed: 67:10.67) [67:11] / make: *** [build] 错误 2 |
CT_KERNEL_VERSION= CT_KERNEL_V_2_6_??_?=y CT_LIBC_GLIBC_MIN_KERNEL= |
../crosstool-ng-1.6.1_install/bin/ct-ng bluid |
huohua19912013-09-21 22:21:54
[EXTRA] Building ltrace
[ERROR] make[1]: *** [ltrace] Error 1
[ERROR] Build failed in step 'Installing ltrace'
[ERROR] Error happened in '/opt/crosstool-ng/lib/ct-ng-1.6.1/scripts/functions' in function 'CT_DoExecLog' (line unknown, sorry)
[ERROR] called from '/opt/crosstool-ng/lib/ct-ng-1.6.1/scripts/build/debug/400-ltrac
Dahuanxihuopusa2013-04-03 16:48:39
tekkamanninja:您的error log 似乎不全阿,没看到错误,请发邮件吧!
不好意思,我把我的信息发到你gmail邮箱了
回复 | 举报tekkamanninja2013-04-01 17:12:05
Dahuanxihuopusa:谢谢你的文章。
请教,我做了一个交叉编译工具,2440的。
64位平台,crosstool-ng 1.9.3
报了下面的错误,能给点指导么?谢谢
arm-unknown-linux-gnueabi-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x33F80000 -I/home/steven/tobe/u-boot-1.1.6/include -fno-builtin -ffreestanding -nostdinc -isystem include -pipe -DCONFIG_ARM -D__ARM__ -ma
您的error log 似乎不全阿,没看到错误,请发邮件吧!
回复 | 举报Dahuanxihuopusa2013-03-30 18:46:50
谢谢你的文章。
请教,我做了一个交叉编译工具,2440的。
64位平台,crosstool-ng 1.9.3
报了下面的错误,能给点指导么?谢谢
arm-unknown-linux-gnueabi-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x33F80000 -I/home/steven/tobe/u-boot-1.1.6/include -fno-builtin -ffreestanding -nostdinc -isystem include -pipe -DCONFIG_ARM -D__ARM__ -ma