设为首页
收藏本站
用户名
Email
自动登录
找回密码
密码
登录
注册
快捷导航
平台
Portal
论坛
BBS
文库
项目
群组
Group
我的博客
Space
搜索
搜索
热搜:
shell
linux
mysql
本版
用户
LinuxSir.cn,穿越时空的Linuxsir!
»
论坛
›
功能型操作系统 —— LinuxSir.cn
›
Linux小型、嵌入式系统
›
在redhat linux 9.0上建立Power PC的交叉编译环境,遇到 ...
返回列表
查看:
1250
|
回复:
0
在redhat linux 9.0上建立Power PC的交叉编译环境,遇到的问题,求解???谢谢!!!
[复制链接]
bantouxiaoxue2
bantouxiaoxue2
当前离线
积分
55
IP卡
狗仔卡
发表于 2008-10-22 16:50:58
|
显示全部楼层
|
阅读模式
[root@localhost root]# cd ppc-eabi-build/
[root@localhost ppc-eabi-build]# make
make[1]: Entering directory `/root/ppc-eabi-build/libiberty'
make[2]: Entering directory `/root/ppc-eabi-build/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/ppc-eabi-build/libiberty/testsuite'
make[1]: Leaving directory `/root/ppc-eabi-build/libiberty'
make[1]: Entering directory `/root/ppc-eabi-build/intl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/ppc-eabi-build/intl'
make[1]: Entering directory `/root/ppc-eabi-build/zlib'
: make ; exec true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-O2 -g -O2" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-O2 -g -O2" "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 " "
ICFLAG=" "
ICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/usr/local/gcc3.4.6-ppc-eabi" "infodir=/usr/local/gcc3.4.6-ppc-eabi/info" "libdir=/usr/local/gcc3.4.6-ppc-eabi/lib" "prefix=/usr/local/gcc3.4.6-ppc-eabi" "tooldir=/usr/local/gcc3.4.6-ppc-eabi/ppc-eabi" "AR=ar" "AS=as" "CC=gcc" "CXX=c++" "LD=ld" "LIBCFLAGS=-g -O2" "NM=nm" "
ICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do
make[1]: Leaving directory `/root/ppc-eabi-build/zlib'
make[1]: Entering directory `/root/ppc-eabi-build/gcc'
make[1]: *** Warning: File `/root/project/gcc-3.4.6-make/gcc-3.4.6/gcc/config/' has modification time in the future (2008-10-15 10:49:20 > 2007-11-05 00:11:07.406975)
make \
CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long " \
CONFIG_H="config.h auto-host.h /root/project/gcc-3.4.6-make/gcc-3.4.6/gcc/../include/ansidecl.h" \
MAKEOVERRIDES= \
-f libgcc.mk all
make[2]: Entering directory `/root/ppc-eabi-build/gcc'
for d in libgcc nof libgcc/nof le libgcc/le und libgcc/und le/und libgcc/le/und nof/le libgcc/nof/le nof/und libgcc/nof/und nof/le/und libgcc/nof/le/und; do \
if [ -d $d ]; then true; else /bin/sh /root/project/gcc-3.4.6-make/gcc-3.4.6/gcc/mkinstalldirs $d; fi; \
done
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/root/ppc-eabi-build/gcc/xgcc -B/root/ppc-eabi-build/gcc/ -B/usr/local/gcc3.4.6-ppc-eabi/ppc-eabi/bin/ -B/usr/local/gcc3.4.6-ppc-eabi/ppc-eabi/lib/ -isystem /usr/local/gcc3.4.6-ppc-eabi/ppc-eabi/include -isystem /usr/local/gcc3.4.6-ppc-eabi/ppc-eabi/sys-include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I -I/root/project/gcc-3.4.6-make/gcc-3.4.6/gcc -I/root/project/gcc-3.4.6-make/gcc-3.4.6/gcc/ -I/root/project/gcc-3.4.6-make/gcc-3.4.6/gcc/../include -mrelocatable-lib -mno-eabi -mstrict-align -DL_muldi3 -c /root/project/gcc-3.4.6-make/gcc-3.4.6/gcc/libgcc2.c -o libgcc/./_muldi3.o
as:无法识别的选项“-mppc”
make[2]: *** [libgcc/./_muldi3.o] Error 1
make[2]: Leaving directory `/root/ppc-eabi-build/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/root/ppc-eabi-build/gcc'
make: *** [all-gcc] Error 2
as:无法识别的选项“-mppc”
不知道是什么错误引起的
回复
使用道具
举报
提升卡
置顶卡
沉默卡
喧嚣卡
变色卡
显身卡
返回列表
高级模式
B
Color
Image
Link
Quote
Code
Smilies
您需要登录后才可以回帖
登录
|
注册
本版积分规则
发表回复
回帖后跳转到最后一页
Copyright © 2002-2023
LinuxSir.cn
(http://www.linuxsir.cn/) 版权所有 All Rights Reserved.
Powered by
RedflagLinux!
技术支持:
中科红旗
|
京ICP备19024520号
快速回复
返回顶部
返回列表