QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1687|回复: 1

做交叉编译器时出现问题,谁能告诉我?我已经google过了

[复制链接]
发表于 2006-9-16 01:51:07 | 显示全部楼层 |阅读模式
编译full gcc 的时候 出现如下 问题

  rm -f ${name}.o; \
done
_udivsi3
libgcc1.S: Assembler messages:
libgcc1.S:1: Warning: rest of line ignored; first ignored character is `@'
libgcc1.S:2: Warning: rest of line ignored; first ignored character is `@'
libgcc1.S:71: Error: no such instruction: `dividend .req r0'
libgcc1.S:72: Error: no such instruction: `divisor .req r1'
libgcc1.S:73: Error: no such instruction: `result .req r2'
libgcc1.S:74: Error: no such instruction: `curbit .req r3'
libgcc1.S:75: Error: no such instruction: `ip .req r12'
libgcc1.S:76: Error: no such instruction: `sp .req r13'
libgcc1.S:77: Error: no such instruction: `lr .req r14'
libgcc1.S:78: Error: no such instruction: `pc .req r15'
libgcc1.S:86: Error: expecting operand after ','; got nothing
libgcc1.S:87: Error: no such instruction: `beq Ldiv0'
libgcc1.S:88: Error: expecting operand after ','; got nothing
libgcc1.S:89: Error: expecting operand after ','; got nothing
libgcc1.S:90: Error: too many memory references for `cmp'
libgcc1.S:91: Error: no such instruction: `bcc Lgot_result'
libgcc1.S:93: Warning: rest of line ignored; first ignored character is `@'
libgcc1.S:94: Warning: rest of line ignored; first ignored character is `@'
libgcc1.S:95: Warning: rest of line ignored; first ignored character is `@'
libgcc1.S:96: Warning: rest of line ignored; first ignored character is `@'
libgcc1.S:97: Error: expecting operand after ','; got nothing
libgcc1.S:98: Error: no such instruction: `cmpcc divisor,dividend'
libgcc1.S:99: Error: no such instruction: `movcc divisor,divisor,lsl'
libgcc1.S:100: Error: no such instruction: `movcc curbit,curbit,lsl'
libgcc1.S:101: Error: no such instruction: `bcc Loop1'
libgcc1.S:104: Warning: rest of line ignored; first ignored character is `@'
libgcc1.S:105: Warning: rest of line ignored; first ignored character is `@'
libgcc1.S:106: Error: expecting operand after ','; got nothing
libgcc1.S:107: Error: no such instruction: `cmpcc divisor,dividend'
libgcc1.S:108: Error: no such instruction: `movcc divisor,divisor,lsl'
libgcc1.S:109: Error: no such instruction: `movcc curbit,curbit,lsl'
libgcc1.S:110: Error: no such instruction: `bcc Lbignum'
libgcc1.S:113: Warning: rest of line ignored; first ignored character is `@'
libgcc1.S:114: Warning: rest of line ignored; first ignored character is `@'
libgcc1.S:115: Warning: rest of line ignored; first ignored character is `@'
libgcc1.S:116: Warning: rest of line ignored; first ignored character is `@'
libgcc1.S:117: Error: too many memory references for `cmp'
libgcc1.S:118: Error: no such instruction: `subcs dividend,dividend,divisor'
libgcc1.S:119: Error: no such instruction: `orrcs result,result,curbit'
libgcc1.S:120: Error: too many memory references for `cmp'
libgcc1.S:121: Error: no such instruction: `subcs dividend,dividend,divisor,lsr'
libgcc1.S:122: Error: no such instruction: `orrcs result,result,curbit,lsr'
libgcc1.S:123: Error: too many memory references for `cmp'
libgcc1.S:124: Error: no such instruction: `subcs dividend,dividend,divisor,lsr'
libgcc1.S:125: Error: no such instruction: `orrcs result,result,curbit,lsr'
libgcc1.S:126: Error: too many memory references for `cmp'
libgcc1.S:127: Error: no such instruction: `subcs dividend,dividend,divisor,lsr'
libgcc1.S:128: Error: no such instruction: `orrcs result,result,curbit,lsr'
libgcc1.S:129: Error: expecting operand after ','; got nothing
libgcc1.S:130: Error: no such instruction: `movnes curbit,curbit,lsr'
libgcc1.S:131: Error: no such instruction: `movne divisor,divisor,lsr'
libgcc1.S:132: Error: no such instruction: `bne Loop3'
libgcc1.S:134: Error: too many memory references for `mov'
libgcc1.S:135: Error: too many memory references for `mov'
libgcc1.S:138: Error: invalid char '[' beginning operand 2 `[sp'
libgcc1.S:139: Error: no such instruction: `bl __div0 (PLT)'
libgcc1.S:140: Error: expecting operand after ','; got nothing
libgcc1.S:141: Error: no such instruction: `ldmia sp!,{pc}'
make[1]: *** [libgcc1-asm.a] Error 1
make[1]: Leaving directory `/home/embedded/build-tools/build-gcc/gcc'
make: *** [all-gcc] Error 2
发表于 2006-9-17 19:13:36 | 显示全部楼层
应该是库的版本问题
将编译选项加上-v看看
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-22 17:31 , Processed in 0.071898 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表