Building GMP for ARM AT91SAM7

Michał spock2 at o2.pl
Wed May 13 16:37:35 CEST 2009


Hello,

I am trying to build GMP library for ARM AT91SAM7 microcontroller (stand 
alone without linux). I am working on ubuntu and I have already 
installed GNU ARM toolchain.

./configure --build=athlon64-pc-linux-gnu --host=arm-elf

Finishes without errors but when I execute make, I get following errors:

tmp-add_n.s: Assembler messages:
tmp-add_n.s:58: Error: no such instruction: `stmfd r13!,{r8,r9,r14}'
tmp-add_n.s:59: Error: too many memory references for `movs'
tmp-add_n.s:60: Error: no such instruction: `bcc .Lskip1'
tmp-add_n.s:61: Error: no such instruction: `ldr r12,[r1],'
tmp-add_n.s:62: Error: no such instruction: `ldr r14,[r2],'
tmp-add_n.s:63: Error: too many memory references for `add'
tmp-add_n.s:64: Error: invalid char '[' beginning operand 2 `[r0]'
tmp-add_n.s:66: Error: no such instruction: `tst r3,'
tmp-add_n.s:67: Error: no such instruction: `beq .Lskip2'
tmp-add_n.s:68: Error: no such instruction: `ldmia r1!,{r8,r9}'
tmp-add_n.s:69: Error: no such instruction: `ldmia r2!,{r12,r14}'
tmp-add_n.s:70: Error: too many memory references for `adc'
tmp-add_n.s:71: Error: too many memory references for `adc'
tmp-add_n.s:72: Error: no such instruction: `stmia r0!,{r8,r9}'
tmp-add_n.s:74: Error: no such instruction: `bics r3,r3,'
tmp-add_n.s:75: Error: no such instruction: `beq .Lreturn'
tmp-add_n.s:76: Error: no such instruction: `stmfd r13!,{r4,r5,r6,r7}'
tmp-add_n.s:78: Error: no such instruction: `ldmia r1!,{r4,r5,r6,r7}'
tmp-add_n.s:79: Error: no such instruction: `ldmia r2!,{r8,r9,r12,r14}'
tmp-add_n.s:80: Error: too many memory references for `adc'
tmp-add_n.s:81: Error: no such instruction: `ldr r8,[r0,'
tmp-add_n.s:82: Error: too many memory references for `adc'
tmp-add_n.s:83: Error: too many memory references for `adc'
tmp-add_n.s:84: Error: too many memory references for `adc'
tmp-add_n.s:85: Error: no such instruction: `stmia r0!,{r4,r5,r6,r7}'
tmp-add_n.s:86: Error: too many memory references for `sub'
tmp-add_n.s:87: Error: no such instruction: `teq r3,'
tmp-add_n.s:88: Error: no such instruction: `bne .Ladd_n_loop'
tmp-add_n.s:89: Error: no such instruction: `ldmfd r13!,{r4,r5,r6,r7}'
tmp-add_n.s:91: Error: too many memory references for `adc'
tmp-add_n.s:92: Error: no such instruction: `ldmfd r13!,{r8,r9,r15}'
make[2]: *** [add_n.lo] Error 1
make[2]: Leaving directory `/home/spock/Desktop/gmp-4.3.0/mpn'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/spock/Desktop/gmp-4.3.0'
make: *** [all] Error 2

Does anyone have any idea what can cause such kind of problem?

Kind Regards
Michal



More information about the gmp-discuss mailing list