Re: ARM Cross Compilation Toolchain on x86 machine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



likes for the end note ... :)

On Tue, Feb 1, 2011 at 10:04 PM, Chaitannya Mahatme <chaitannya@xxxxxxxxx> wrote:
On Friday 07 January 2011 09:56 PM, Dave Hylands wrote:
Hi Madhavi,

On Fri, Jan 7, 2011 at 1:30 AM, Madhavi Manchala
<madhavi.linux@xxxxxxxxx> wrote:
...snip...
  
Where can I get the list of supported CPU family types for ARM
architecture like ARM5, ARM7, ARM926EJ etc. In case of Power
Architecture (PPC) there is a list as shown in the below link at ELDK
site
http://www.denx.de/wiki/view/DULG/ELDKSupportedTargetArchitectures

The same is also mentioned in the table at 3.6.A Table of possible
values for $CROSS_COMPILE section of the ELDK at
http://www.denx.de/wiki/view/DULG/ELDKUsage

For us, ARM9 is suitable.
    
You can try using

arm-xxx-gcc --target-help

(replace xxx appropriately). This should list the targets which are
supported by that particular compiler. For example, when I use my
gumstix cross compiler, I get the following output:

  Known ARM CPUs (for use with the -mcpu= and -mtune= options):
    cortex-m3, cortex-r4, cortex-a8, arm1156t2-s, mpcore, mpcorenovfp,
    arm1176jzf-s, arm1176jz-s, arm1136jf-s, arm1136j-s, arm1026ej-s, arm926ej-s,
    iwmmxt, xscale, arm1022e, arm1020e, arm10e, arm968e-s, arm966e-s, arm946e-s,
    arm9e, arm1020t, arm10tdmi, ep9312, arm940t, arm922t, arm920t, arm920,
    arm9tdmi, arm9, arm740t, arm720t, arm710t, arm7tdmi-s, arm7tdmi,
    strongarm1110, strongarm1100, strongarm110, strongarm, arm810, arm8,
    arm7dmi, arm7dm, arm7m, arm7500fe, arm7500, arm7100, arm710c, arm720,
    arm710, arm700i, arm700, arm70, arm7di, arm7d, arm7, arm620, arm610, arm600,
    arm60, arm6, arm3, arm250, arm2

  Known ARM architectures (for use with the -march= option):
    iwmmxt, ep9312, armv7-m, armv7-r, armv7-a, armv7, armv6t2, armv6zk, armv6z,
    armv6k, armv6j, armv6, armv5te, armv5e, armv5t, armv5, armv4t, armv4,
    armv3m, armv3, armv2a, armv2

Dave Hylands

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
  
Hi Madhavi,


Read this article http://wiki.embeddednirvana.org/Building_your_own_toolchain. A brief given a brief about explanation on instruction set and cross compile target is given.
It is highly recommended that you use the toolchain supplied from the chip manufacturer since it would be optimised for the chip you are using. A program compiled for ARM7 can run perfectly well on arm11 arch, but then you won't be able to utilize h/w features of the arm11 arch.

As for the complete list, it's available on gcc's site http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html 
--
Cheers !!!
Chaitannya

follow me on twitter http://twitter.com/chaitannya

I believe there's a hero in all of us
who keeps us honest, gives us strength, makes us noble, and finally allows us to die with pride,
even though sometimes we have to be steady, and give up the thing we want the most... even our dreams.
- Spider Man 2

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux