■
gdb-7.3
オレとしたことが、デバッガのインストールを忘れてたのでgdb-7.3をbuild。
あれ?ところで、デバッガってtarget指定してbuildするもの?それとも、hostの環境で使うもんだから、target指定なしでbuildするもの?まあ、実行環境だから、target指定するんだろう、やっぱり。
% wget http://core.ring.gr.jp/pub/GNU/gdb/gdb-7.3.tar.bz2 % tar jxvf gdb-7.3.tar.bz2 % cd gdb-7.3 % mkdir BUILD % cd BUILD % ../configure --target=h8300-elf --program-prefix=h8300-elf- --prefix=/opt/local --disable-nls --with-gpm=/opt/local/gpm --with-mpfr=/opt/local/mpfr --with-mpc=/opt/local/mpc % make % sudo make install
そういえば、newlib付きでbuildすべきだったんだろうか?というのも疑問。