crossarm-gcc brak obsługi cortex-m0

Daniel Dawid Majewski light-i w o2.pl
Pon, 21 Lut 2011, 13:23:11 CET


Czy może ktoś(TM) rozgryzł ten problem - którą wersję gcc tu potrzeba ?
$ make
Assembling file: startup.S
arm-linux-gnueabi-gcc -x assembler-with-cpp -c -mcpu=cortex-m0 -mthumb
-g -ggdb3 -Wa,-amhls=out/startup.lst  -MD -MP -MF out/startup.d -I.
startup.S -o out/startup.o
startup.S:0: error: bad value (cortex-m0) for -mcpu= switch


http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html:
[...]
-mcpu=name
This specifies the name of the target ARM processor. GCC uses this name
to determine what kind of instructions it can emit when generating
assembly code. Permissible names are: `arm2', `arm250', `arm3', `arm6',
`arm60', `arm600', `arm610', `arm620', `arm7', `arm7m', `arm7d',
`arm7dm', `arm7di', `arm7dmi', `arm70', `arm700', `arm700i', `arm710',
`arm710c', `arm7100', `arm720', `arm7500', `arm7500fe', `arm7tdmi',
`arm7tdmi-s', `arm710t', `arm720t', `arm740t', `strongarm',
`strongarm110', `strongarm1100', `strongarm1110', `arm8', `arm810',
`arm9', `arm9e', `arm920', `arm920t', `arm922t', `arm946e-s',
`arm966e-s', `arm968e-s', `arm926ej-s', `arm940t', `arm9tdmi',
`arm10tdmi', `arm1020t', `arm1026ej-s', `arm10e', `arm1020e',
`arm1022e', `arm1136j-s', `arm1136jf-s', `mpcore', `mpcorenovfp',
`arm1156t2-s', `arm1156t2f-s', `arm1176jz-s', `arm1176jzf-s',
`cortex-a5', `cortex-a8', `cortex-a9', `cortex-a15', `cortex-r4',
`cortex-r4f', `cortex-m4', `cortex-m3', `cortex-m1', `cortex-m0',
`xscale', `iwmmxt', `iwmmxt2', `ep9312'.
[...]
$ rpm -q crossarm-gcc
crossarm-gcc-4.2.2-1gnueabi.x86_64
-- 
Pozdrawiam,
Daniel Dawid Majewski
jabber:light-i/pld-users.org



Więcej informacji o liście pld-users-pl