(toppers-users 1693) H8用簡易モニタのコンパイルについて
Mitsuyasu Ichimura
mitsuyasu @ beatum.jp
2004年 10月 14日 (木) 08:37:57 JST
皆さん、おはようございます。
質問なのですが、H8用簡易モニタをコンパイルしようとすると、
/usr/local/bin/h8300-hms-gcc -c -DTARGET_CPU=3048 -I. -I.. -mh
-mint32 -mrelax -O2 -g -Wall -Wa,-ahl ../serial.S >serial.lst
../serial.S: Assembler messages:
../serial.S:173: Error: invalid operands
../serial.S:304: Error: invalid operands
../serial.S:317: Error: invalid operands
../serial.S:462: Error: invalid operands
../serial.S:481: Error: invalid operands
gmake: *** [serial.o] Error 1
と初っ端からエラーが出てしまいます。また、各オブジェクトを手動で
コンパイルすると、
$ gmake h8mon.o
/usr/local/bin/h8300-hms-gcc -c -DTARGET_CPU=3048 -I. -I.. -mh
-mint32 -mrelax -O2 -g -Wall -Wa,-ahl ../h8mon.S >h8mon.lst
../h8mon.S: Assembler messages:
../h8mon.S:91: Error: invalid operands
../h8mon.S:1448: Error: invalid operands
gmake: *** [h8mon.o] Error 1
となってしまいます。環境は
ホストOS FreeBSD 4.8
binutils 2.15
gcc 3.4.2
です。原因をご教授いただければ幸いです。
-----
JG8NID 市村 光康
http://www.beatum.jp/amateur_radio/