[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] gcc + uclibc for e300 core
From: |
Steve Papacharalambous |
Subject: |
Re: [Ltib] gcc + uclibc for e300 core |
Date: |
Mon, 08 Dec 2008 09:36:50 +0000 |
Hi Ryan,
You are using the correct toolchain rpm for a uClibc system. However
this has been configured and built as a classic PowerPC architecture
toolchain which should work on an e300c3 core.
If you need a toolchain that you can optimize the output for e300c3
cores then you need to use the glibc toolchain:
http://www.bitshrine.org/gpp/freescale-powerpc-linux-gnu-4.2-187.i686.rpm
The flag: "-mcpu=e300c3" should be used,
Best regards,
Steve
On Fri, 2008-12-05 at 14:08 -0600, Ryan Nowakowski wrote:
> Stuart,
>
> We're using e300c3.
>
> - Ryan
>
> On Fri, Dec 05, 2008 at 06:23:50PM +0000, Stuart Hughes wrote:
> > Hi Ryan,
> >
> > I'm not an expert on this, but I may be able to find out. Which chip
> > are you targeting? there's different e300 types (c2,c3)
> >
> > Regards, Stuart
> >
> > On Fri, 2008-12-05 at 11:41 -0600, Ryan Nowakowski wrote:
> > > Hey Folks,
> > >
> > > Does anyone know what gcc rpm I should use for an e300 core?
> > > I'm currently using:
> > > tc-fsl-x86lnx-ppc-uclibc-4.2.4-1.i386.rpm
> > >
> > > ...but when I pass in -me300 I get:
> > > cc1: error: unrecognized command line option "-me300"
> > >
> > > ...even though powerpc-linux-uclibc-gcc --target-help shows -me300 as
> > > a valid option.
> > >
> > > Also, when I compile with it I get and "Illegal Instruction" error at
> > > runtime.
> > >
> > > - Ryan
> >
> >
>
>
> _______________________________________________
> LTIB home page: http://bitshrine.org
>
> Ltib mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ltib
--
Steve Papacharalambous
Developer Technology.
Registered address:
Freescale Semiconductor UK Ltd
Colvilles Road
East Kilbride
Glasgow
Scotland
G75 OTG
Registration number: SC262720
VAT number: GB831329053
(X) Public
( ) Freescale Internal Use Only
( ) Freescale Confidential Proprietary