//#navi(Toppers) &size(24){&color(darkgreen){''Toppers under FreeBSD''};}; #contents ---- -[[Toppers on FreeBSD>http://mi.cs.titech.ac.jp/funada/uitron/make.toppers.onFreeBSD.html]] -http://www.freebsd.org -http://www.jp.freebsd.org -[[FreeBSD]] ---- **できればLinuxエミュレータは使いたくないんだけど [#ucbe4042] ***カーネルcfgソフトウエア作成 [#z2348a89] cd jsp/cfg make depend make -いきなり %make depend "Makefile", line 73: Need an operator "Makefile", line 75: Need an operator "Makefile", line 85: Need an operator "Makefile", line 122: Need an operator make: fatal errors encountered -- cannot continue -せめてgmakeで。 --(金子)本当だ。gmakeだとエラー無しでcfgとchkが出来た。 ***サンプルプログラムの構築 [#yc20a200] -jsp直下で下記を実行 mkdir akih8 //適当なディレクトリ cd akih8 ../configure -C h8 -S akih8_3069f -(金子)ひとまずconfigureは動くみたい %../configure -C h8 -S akih8_3048f //今回のCPUはH8/3048fなので configure: Generating Makefile from ../sample/Makefile. configure: Generating sample1.c from ../sample/sample1.c. configure: Generating sample1.h from ../sample/sample1.h. configure: Generating sample1.cfg from ../sample/sample1.cfg. -(金子)で、コンパイルしてみよう gmake depend gmake --(金子)H8のコンパイラが入ってなかった %gmake depend rm -f Makefile.depend h8300-hms-gcc -S -mh -mint32 -mrelax -O2 -DCPU_CLOCK=16000000 -DLABEL_ASM -DAKI_MONITOR -I. -I../include -I../config/h8/akih8_3048f -I../config/h8 -I../kernel ../config/h8/makeoffset.c gmake: h8300-hms-gcc: Command not found gmake: *** [makeoffset.s] Error 127 --(金子)FreeBSDでH8をクロスコンパイルする手を調べてみよう。(ヒマなとき)