gcc ARM CPU's
Acharya Partha
partha_acharya@yahoo.com
Wed Oct 29 11:17:00 GMT 2008
Hi
I think with 'arm-linux-gnu-gcc -mcpu=arm922' option you also need to give -mthumb option while cross compiling glibc/newlibc .
Regards
Partha Acharya
--- On Wed, 10/29/08, Marc Kleine-Budde <mkl@pengutronix.de> wrote:
> From: Marc Kleine-Budde <mkl@pengutronix.de>
> Subject: Re: gcc ARM CPU's
> To: "Martin Guy" <martinwguy@yahoo.it>
> Cc: "Vivek Kumar Gupta" <gkvivek@zilog.com>, crossgcc@sourceware.org
> Date: Wednesday, October 29, 2008, 4:03 AM
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Martin Guy wrote:
> > On 10/29/08, Vivek Kumar Gupta
> <gkvivek@zilog.com> wrote:
> >> i just want to get gcc for two ARM CPU 922T and
> CortexM3.
> >>
> >> 1. Is it possible to get one (same) tool chain
> that is GCC for 2 CPU.
> >> 2. if yes any thing i should take care while
> starting the job.
> >> 3. i want to start with GCC 4.3.2, so anything i
> should take care.
> >
> > Hi!
> > Any ARM toolchain will compile for all ARMs. In your
> case something like
> >
> > arm-linux-gnu-gcc -mcpu=arm922t
> >
> > and similar for the cortex.
>
> In common scenarios the Cortex M3 is going to be used
> "bare metal", so
> you want to use a bare metal toolchain with newlib or sth.
> like that.
>
> The 922 has a MMU, it can run Linux, so you probably want
> to user a
> linux toolchain here.
>
> cheers, Marc
>
> - --
> Marc Kleine-Budde Phone: +49-231-2826-924
> Pengutronix - Linux Solutions for Science and Industry
> Vertretung West/Dortmund http://www.pengutronix.de
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla -
> http://enigmail.mozdev.org
>
> iD8DBQFJCELxjTAFq1RaXHMRAqNEAJ9BrStiQ6YHorHeoYsTCVO3cwTAnACdFBfm
> vFm7IGCowfQMUsWJcpxUvPg=
> =l3vJ
> -----END PGP SIGNATURE-----
>
> --
> For unsubscribe information see
> http://sourceware.org/lists.html#faq
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list