This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Yann E. MORIN wrote: > Allen, > All, > > On Monday 19 October 2009 22:51:46 Allen Curtis wrote: >> I would like to build a toolchain for the Cortex M3. The sample >> configurations include a Cortex A8. Is it as simple as changing the A8 >> references in .config to M3? > > The Cortex-M3 is a Thumb2-only processor. I'm not so sure how binutils, gcc > and the C libraries handle this case. Search the archives, there has been a > thread on the subject some time ago. > > If all goes well, you should set the following: > CT_ARCH_ARCH: armv7-m (I'm not so sure about that one, if it fails, > leave the field empty) > CT_ARCH_CPU : cortex-m3 > CT_ARCH_TUNE: cortex-m3 the cortex-m3 is a MMU-less CPU, you probably want to use newlib with it. cheers, Marc - -- Pengutronix e.K. | Marc Kleine-Budde | Linux Solutions for Science and Industry | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkrdcY8ACgkQjTAFq1RaXHOQOwCfYwJZI8/IwgdDANzlCEGTF8uw JPgAnj9Ax3S9GB+OdUG/KMozUe8iKoJA =PDsO -----END PGP SIGNATURE----- -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |