OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: lardman on March 15, 2004, 04:30:50 pm

Title: Rebuilding toolchain
Post by: lardman on March 15, 2004, 04:30:50 pm
I had thought all of this toolchain building stuff was behind me, but alas that is not to be.....

Anyway I want to just recompile gcc3 to include f77. I\'ve done much as I did for the OZ toolchain (afaicr - it was a while back): http://www.zaurususergroup.com/index.php?n...iewtopic&t=1072 (https://www.oesf.org/forums/index.php?showtopic=1072)

Anyway I\'m getting a load of errors and I can\'t seem to think what\'s causing them:

make[2]: Leaving directory `/home/simon/Desktop/temp/gcc/gcc-build-arm5/gcc/intl\'
/home/simon/Desktop/temp/gcc/gcc-build-arm5/gcc/xgcc -B/home/simon/Desktop/temp/gcc/gcc-build-arm5/gcc/ -B/opt/arm/arm-linux/bin/ -B/opt/arm/arm-linux/lib/ -isystem /opt/arm/arm-linux/include -O2 -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -I. -I. -I../../gcc-3.3.2/gcc -I../../gcc-3.3.2/gcc/. -I../../gcc-3.3.2/gcc/config -I../../gcc-3.3.2/gcc/../include  -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss  
  -Dinhibit_libc -c ../../gcc-3.3.2/gcc/crtstuff.c -DCRT_BEGIN
  -o crtbegin.o
/home/simon/tmp/ccA5dbKh.s: Assembler messages:
/home/simon/tmp/ccA5dbKh.s:37: Warning: rest of line ignored; first ignored character is `@\'
/home/simon/tmp/ccA5dbKh.s:38: Warning: rest of line ignored; first ignored character is `@\'
/home/simon/tmp/ccA5dbKh.s:39: Error: no such instruction: `stmfd sp!,{r4,r5,lr}\'
/home/simon/tmp/ccA5dbKh.s:40: Error: no such instruction: `ldr r5,.L10\'
/home/simon/tmp/ccA5dbKh.s:41: Error: no such instruction: `ldrb r3,[r5,\'
/home/simon/tmp/ccA5dbKh.s:42: Error: expecting operand after \',\'; got nothing
/home/simon/tmp/ccA5dbKh.s:43: Error: no such instruction: `ldmnefd sp!,{r4,r5,pc}\'
/home/simon/tmp/ccA5dbKh.s:44: Error: no such instruction: `ldr r4,.L10+4\'
/home/simon/tmp/ccA5dbKh.s:45: Error: no such instruction: `ldr r3,[r4,\'
/home/simon/tmp/ccA5dbKh.s:46: Error: no such instruction: `ldr r2,[r3,\'
/home/simon/tmp/ccA5dbKh.s:47: Error: expecting operand after \',\'; got nothing
/home/simon/tmp/ccA5dbKh.s:48: Error: no such instruction: `beq .L9\'
/home/simon/tmp/ccA5dbKh.s:50: Error: no such instruction: `ldr r3,[r4,\'
/home/simon/tmp/ccA5dbKh.s:51: Error: too many memory references for `add\'
/home/simon/tmp/ccA5dbKh.s:52: Error: invalid char \'[\' beginning operand 2 `[r4\'
/home/simon/tmp/ccA5dbKh.s:53: Error: too many memory references for `mov\'
/home/simon/tmp/ccA5dbKh.s:54: Error: too many memory references for `mov\'
/home/simon/tmp/ccA5dbKh.s:55: Error: no such instruction: `ldr r3,[r4,\'
/home/simon/tmp/ccA5dbKh.s:56: Error: no such instruction: `ldr r2,[r3,\'
/home/simon/tmp/ccA5dbKh.s:57: Error: expecting operand after \',\'; got nothing
/home/simon/tmp/ccA5dbKh.s:58: Error: no such instruction: `bne .L6\'
/home/simon/tmp/ccA5dbKh.s:60: Error: no such instruction: `ldr r3,.L10+8\'
/home/simon/tmp/ccA5dbKh.s:61: Error: expecting operand after \',\'; got nothing
/home/simon/tmp/ccA5dbKh.s:62: Error: no such instruction: `ldrne r0,.L10+12\'
/home/simon/tmp/ccA5dbKh.s:63: Error: no such instruction: `movne lr,pc\'
/home/simon/tmp/ccA5dbKh.s:64: Error: no such instruction: `movne pc,r3\'
/home/simon/tmp/ccA5dbKh.s:66: Error: expecting operand after \',\'; got nothing
/home/simon/tmp/ccA5dbKh.s:67: Error: invalid char \'[\' beginning operand 2 `[r5\'
/home/simon/tmp/ccA5dbKh.s:68: Error: no such instruction: `ldmfd sp!,{r4,r5,pc}\'
/home/simon/tmp/ccA5dbKh.s:79: Warning: rest of line ignored; first ignored character is `@\'
/home/simon/tmp/ccA5dbKh.s:80: Warning: rest of line ignored; first ignored character is `@\'
/home/simon/tmp/ccA5dbKh.s:81: Error: invalid char \'[\' beginning operand 2 `[sp\'
/home/simon/tmp/ccA5dbKh.s:83: Error: no such instruction: `bl __do_global_dtors_aux\'
/home/simon/tmp/ccA5dbKh.s:85: Error: no such instruction: `ldr pc,[sp],\'
/home/simon/tmp/ccA5dbKh.s:94: Warning: rest of line ignored; first ignored character is `@\'
/home/simon/tmp/ccA5dbKh.s:95: Warning: rest of line ignored; first ignored character is `@\'
/home/simon/tmp/ccA5dbKh.s:96: Error: no such instruction: `ldr r3,.L16\'
/home/simon/tmp/ccA5dbKh.s:97: Error: expecting operand after \',\'; got nothing
/home/simon/tmp/ccA5dbKh.s:98: Error: invalid char \'[\' beginning operand 2 `[sp\'
/home/simon/tmp/ccA5dbKh.s:99: Error: no such instruction: `ldr r0,.L16+4\'
/home/simon/tmp/ccA5dbKh.s:100: Error: no such instruction: `ldr r1,.L16+8\'
/home/simon/tmp/ccA5dbKh.s:101: Error: no such instruction: `movne lr,pc\'
/home/simon/tmp/ccA5dbKh.s:102: Error: no such instruction: `movne pc,r3\'
/home/simon/tmp/ccA5dbKh.s:104: Error: no such instruction: `ldr r0,.L16+12\'
/home/simon/tmp/ccA5dbKh.s:105: Error: no such instruction: `ldr r3,[r0,\'
/home/simon/tmp/ccA5dbKh.s:106: Error: expecting operand after \',\'; got nothing
/home/simon/tmp/ccA5dbKh.s:107: Error: no such instruction: `ldreq pc,[sp],\'
/home/simon/tmp/ccA5dbKh.s:108: Error: no such instruction: `ldr r3,.L16+16\'
/home/simon/tmp/ccA5dbKh.s:109: Error: expecting operand after \',\'; got nothing
/home/simon/tmp/ccA5dbKh.s:110: Error: no such instruction: `ldreq pc,[sp],\'
/home/simon/tmp/ccA5dbKh.s:111: Error: no such instruction: `ldr lr,[sp],\'
/home/simon/tmp/ccA5dbKh.s:112: Error: no such instruction: `b _Jv_RegisterClasses\'
/home/simon/tmp/ccA5dbKh.s:124: Warning: rest of line ignored; first ignored character is `@\'
/home/simon/tmp/ccA5dbKh.s:125: Warning: rest of line ignored; first ignored character is `@\'
/home/simon/tmp/ccA5dbKh.s:126: Error: invalid char \'[\' beginning operand 2 `[sp\'
/home/simon/tmp/ccA5dbKh.s:128: Error: no such instruction: `bl frame_dummy\'
/home/simon/tmp/ccA5dbKh.s:130: Error: no such instruction: `ldr pc,[sp],\'
make[1]: *** [crtbegin.o] Error 1
make[1]: Leaving directory `/home/simon/Desktop/temp/gcc/gcc-build-arm5/gcc\'
make: *** [all-gcc] Error 2

Can anyone suggest anything, or even just build me a toolchain with f77 support.

Cheers,


Si

P.S. Where/how do I specify that the toolchain should generate arm5 code by default? Or is this in binutils?