powerpc-eabi-gcc compatible with Diab-Data CC ?

Jeff Bevis jab@applied-magic.com
Fri Aug 18 10:16:00 GMT 2000


Hi Christian,

We've done essentially that with our PPC403 software.  There are
many issues to deal with, but I can say that it does in fact use R2 and
R13 for the same purpose as Diab's compiler.   We use the
following compiler options:

 -meabi -mcpu=403 -mregnames\
 -msoft-float -mmultiple -mbig-endian -msdata=eabi -c
-fno-common\
 -Wall -Wno-format -Wno-parentheses -Wno-main -fno-builtin 

The important one is -meabi, so you get eabi register usage like
Diab.  Feel free to email me any other questions you have;  it
took us a long time to migrate successfully from Diab to GCC, and I'd be
glad to help.

At 10:51 AM 8/18/00 -0400, Netter, Christian
M.      UTRC wrote:

Hi, 

I'm interested in using a powerpc-eabi-gcc 
with object files produced by the Diab-Data CC 
on a MPC555 platform. 

Does anybody know if that's possible? 

If so, what command line options do I need to 
supply to GCC? 

I found I 1997 post to this list in which 
someone seems to indicate that he's done that. 

(looking at the .s output of my powerpc-eabi-gcc,

it doesn't seem to use registers R2 and R13 to 
access sections .sdata and .sbss like the Diab 
compiler does.....doesn't look very compatible 
to me.....) 

Anybody? 

Christian M. Netter 
Associate Research Engineer 
United Technologies Research Center 
411 Silver Lane, M/S 129-55 
East Hartford, CT. 06108 
E-Mail: nettercm@utrc.utc.com 
Phone:  (860)-610-7758 
  


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




More information about the crossgcc mailing list