ubuntu 10.04下安装nachos4.0的编译问题
发表于 : 2011-01-14 12:48
我在安装nachos4.0时出现了如下的编译错误:
/lib/cpp -P -I../userprog -I../threads -I../lib start.s > strt.s
as -o start.o strt.s
strt.s: Assembler messages:
strt.s:4: Error: unknown pseudo-op: `.ent'
strt.s:6: Error: suffix or operands invalid for `ja'
strt.s:7: Error: no such instruction: `move $4,$0'
strt.s:8: Error: suffix or operands invalid for `ja'
make: *** [start.o] 错误 1
gcc的版本是4.4.3,我认为是gcc的问题,可是我不会弄!有没有好心的高手指点我一下怎么解决阿?
顺便说一下,这个版本是高了还是低了?什么版本合适?麻烦给推荐一个
/lib/cpp -P -I../userprog -I../threads -I../lib start.s > strt.s
as -o start.o strt.s
strt.s: Assembler messages:
strt.s:4: Error: unknown pseudo-op: `.ent'
strt.s:6: Error: suffix or operands invalid for `ja'
strt.s:7: Error: no such instruction: `move $4,$0'
strt.s:8: Error: suffix or operands invalid for `ja'
make: *** [start.o] 错误 1
gcc的版本是4.4.3,我认为是gcc的问题,可是我不会弄!有没有好心的高手指点我一下怎么解决阿?
顺便说一下,这个版本是高了还是低了?什么版本合适?麻烦给推荐一个