This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Question:building insight5.0 for powerpc
- From: aniue <aniue at sina dot com>
- To: crossgcc at sources dot redhat dot com, ecos-discuss at sources dot redhat dot com
- Date: Tue, 28 May 2002 14:04:34 +0800
- Subject: [ECOS] Question:building insight5.0 for powerpc
Hi everybody,
I am configuring cross GCC for target=powerpc-eabi.
1) Binutils configured/Installed successfully.(2.10.1)
2) CROSS GCC configured/Installed successfully .(2.95.2)
3)Insight-5.0 configured successfully using the command:
/src/gdb/insight-5.0/configure --target=powerpc-eabi \
--prefix=/tools \
--exec-prefix=/tools/H-i686-pc-cygwin \
-v 2>&1 | tee configure.out
4) While doing make I am getting:
(make -w all install CC='gcc -mwin32' 2>&1 | tee make.out)
**********************************************************
administrator@LFG /tmp/build/gdb
$ make -w all install CC='gcc -mwin32' 2>&1 | tee make.out
make: Entering directory `/tmp/build/gdb'
make[1]: Entering directory `/tmp/build/gdb/libiberty'
if [ x"no" = xyes ] && [ ! -d pic ]; then \
mkdir pic; \
else true; fi
touch stamp-picdir
test x"no" != xyes || \
gcc -mwin32 -c -DHAVE_CONFIG_H -g -O2 -I. -I/src/gdb/insight-5.0/libiberty/../
include -W -Wall -Wtraditional /src/gdb/insight-5.0/libiberty/argv.c -o pic/ar
gv.o
gcc -mwin32 -c -DHAVE_CONFIG_H -g -O2 -I. -I/src/gdb/insight-5.0/libiberty/../in
clude -W -Wall -Wtraditional /src/gdb/insight-5.0/libiberty/argv.c
cc1.exe: Invalid option `win32'
make[1]: *** [argv.o] Error 1
make[1]: Leaving directory `/tmp/build/gdb/libiberty'
make: *** [all-libiberty] Error 2
make: Leaving directory `/tmp/build/gdb'
administrator@LFG /tmp/build/gdb
$
********************************************************************
My question are:
1)What is the meaning of " cc1.exe: Invalid option `win32' "?How can i do?
2)If the source used for building cross gcc are the same for all target?(for example: arm ,
powerpc,mips etc.)
3)I did these work on windowsNT system.Can i rebuild these on windows2000 system?
Who knows these?Please help me!!
Thanks & Regards,
lfg
______________________________________
===================================================================
新浪免费电子邮箱 (http://mail.sina.com.cn)
新浪分类信息:二手市场走一走,该出手时就出手! (http://classad.sina.com.cn/2shou/)
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss