Question:building insight5.0 for powerpc

aniue aniue@sina.com
Mon May 27 23:13:00 GMT 2002


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



More information about the crossgcc mailing list