This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/)

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]