This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

RE: powerpc-coff target


Why do you want to build a COFF toolchain for PowerPC? ELF is very well
supported in the Gnu tools, and it's the standard for embedded PowerPC.

The target name for this configuration is 'powerpc-eabi'.

Scott

-----Original Message-----
From: crossgcc-owner@sourceware.cygnus.com
[mailto:crossgcc-owner@sourceware.cygnus.com]On Behalf Of
Nicholas_Karagas@cirilium.com
Sent: Tuesday, June 06, 2000 1:10 PM
To: crossgcc@sourceware.cygnus.com
Subject: powerpc-coff target


I am attempting to build a cross environment from Cygwin/NT4.0 to a remote
PowerPC embedded target, using coff (powerpc-unknown-coff).  This is not
automatically supported with the GNU tools, and all my efforts to build gcc
for this environment have been in vain.  I believe that I correctly built
binutils, but I get the following result when making libgcc2 in gcc-2.95.2:

for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 _lshrdi3
_ashldi3 _ashrdi3 _ffsdi2 _udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2
_floatdidf _floatdisf _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi
_fixunssfdi _fixsfdi _fixxfdi _fixunsxfdi _floatdixf _fixunsxfsi _fixtfdi
_fixunstfdi _floatditf __gcc_bcmp _varargs __dummy _eprintf _bb _shtab
_clear_cache _trampoline __main _exit _ctors _pure; \
do \
  echo ${name}; \
  /gcc-2.95.2/gcc/xgcc -B/gcc-2.95.2/gcc/
-B/usr/local/ppc-coff/ppc-coff/bin/ -I/usr/local/ppc-coff/ppc-coff/include
-O2  -DCROSS_COMPILE -DIN_GCC -DHAIFA    -g -O2 -I./include  -mcpu=powerpc
-g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED    -I. -I. -I./config
-I./../include -c -DL${name} \
       ./libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  ppc-coff-ar rc tmplibgcc2.a ${name}.o; \
  rm -f ${name}.o; \
done
_muldi3
C:\TEMP/ccdvTd5T.s: Assembler messages:
C:\TEMP/ccdvTd5T.s:283: Warning: `.bf' symbol without preceding function
C:\TEMP/ccdvTd5T.s:341: Fatal error: C_EFCN symbol out of scope
make[3]: *** [libgcc2.a] Error 1
make[2]: *** [stmp-multilib-sub] Error 2
make[1]: *** [stmp-multilib] Error 1
make: *** [all-gcc] Error 2

Any help with this would be greatly appreciated.

Nicholas Karagas
Associate Software Engineer
Cirilium Corporation
Tempe, AZ
(480) 317-1144


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



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


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