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 |
maxloop2011-10-12 14:23:29
[shell@localhome bin]$ ./ct-ng build
[INFO ] Performing some trivial sanity checks
[INFO ] Build started 20111012.142053
[INFO ] Building environment variables
[WARN ] You did not specify the build system. That's OK, I can guess...
[INFO ] =================================================================
[INFO ] Retrieving needed toolchain components' tarballs
[INFO ] Ret
maxloop2011-10-12 11:10:42
[shell@localhome bin]$ ./ct-ng build
[INFO ] Performing some trivial sanity checks
[INFO ] Build started 20111012.102516
[INFO ] Building environment variables
[WARN ] You did not specify the build system. That's OK, I can guess...
[INFO ] =================================================================
[INFO ] Retrieving needed toolchain components' tarballs
[04:09] /
liweijie19882011-07-03 15:00:40
请问下,我在VMware中安装了RHEL6版本,每当编译到Building final compiler时,最会导致我的linux系统死机,请问这是什么原因啊?请指教
chinaunix网友2010-11-25 14:36:53
您好,我在Operating System下修改内核版本号也能成功编译,这是不是比修改.config文件方便些?还是有一定区别?