austgl / writeos

Automatically exported from code.google.com/p/writeos
0 stars 0 forks source link

用cygwin对boot.s编译出错 #29

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
用cygwin对boot.s编译出错
   chapter2/2  ,boot.S文件在cygwin下 使用make会出现如下错误
  bash-3.1$ cd /cygdrive/h/writeos/chapter2/2
bash-3.1$ make
gcc -c boot.S
boot.S: Assembler messages:
boot.S:25: Error: unknown pseudo-op: `.2byte'
boot.S:27: Error: unknown pseudo-op: `.2byte'
boot.S:29: Error: unknown pseudo-op: `.2byte'
boot.S:30: Error: unknown pseudo-op: `.2byte'
boot.S:32: Error: unknown pseudo-op: `.2byte'
boot.S:33: Error: unknown pseudo-op: `.2byte'
boot.S:34: Error: unknown pseudo-op: `.2byte'
boot.S:35: Error: unknown pseudo-op: `.4byte'
boot.S:36: Error: unknown pseudo-op: `.4byte'
boot.S:40: Error: unknown pseudo-op: `.4byte'
boot.S:178: Error: unknown pseudo-op: `.2byte'
boot.S:179: Error: unknown pseudo-op: `.2byte'
boot.S:290: Error: unknown pseudo-op: `.2byte'
make: *** [boot.bin] Error 1
  不知道这是为什么?

Original issue reported on code.google.com by baoyun20@gmail.com on 20 Oct 2011 at 9:24