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


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

Re: egcs-1.1b or gcc-2.8.1 for powerpc cross-compiler ?


On Thu, 29 Oct 1998, Brendan Simon wrote:

> 
> I am trying to compile a powerpc cross compiler for the MPC860.
> Am I better off using egcs-1.1b or gcc-2.8.1 ?
> I assume egcs is a better compiler (especially for C++) but is gcc more
> stable ?
> I also assume that egcs has better powerpc support but it is just a
> guess.
> 
I found one bug in egcs-1.1b that was not in gcc-2.8.1 relating to signed
char function arguments and optimization. I'm still trying to track this
one down.

> I've tried the following targets for a linux hosted powerpc cross
> compiler.
> --target=ppc-elf
> --target=ppc-eabi
>
--target=powerpc-unknow-eabi works for me
 
> I got errors so I thought I'd try --target=m68k-coff as it is pretty
> mature.  The same errors.
> ppc-eabi gives"as: unrecognized option `-ppc'"
> m68k-coff gives "as: unrecogized option -a68020" or something simialr.
> 
> Is it using the correct assembler.  Maybe its using the native linux
> i386 assembler ??
>
Probably.  Do you have a cross assembler installed?  I used binutils-2.9.1
and configured it with the same prefix= as egcs or gcc.

I'm by no means an expert at this though.

> Can anyone help.  Some error logs are attatched.
> 
> 
> 
> 

--
Brian Ford
Software Engineer
Vital Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444

________________________________________________
To get help for the crossgcc list, send mail to
crossgcc-request@cygnus.com with the text 'help'
(without the quotes) in the body of the message.