gcc のインストール
binutilsに引き続いて今日はgccのインストールを敢行。
教本通り
../configure --target=h8300-elf --disable-nls --prefix=/opt/h8300
を実行。
そして make。例によってエラー。
また_P_NOWAITOがundeclaredとのことなので、またconfig.h(2つある)に定義を追加してあげる。
さらに make。またエラー。
今度はworking directoryにあるconfig.logを見ないといけないらしい。
見てみると、下記の場所でエラー。
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
conftest.c:16:5: error: 'choke' undeclared (first use in this function)
conftest.c:16:5: note: each undeclared identifier is reported only once for each function it appears in
#if PPL_VERSION_MAJOR != 0 | PPL_VERSION_MINOR < 11 | |
choke me | ||
#endif |
conftest.c:16:5: error: 'choke' undeclared (first use in this function)
conftest.c:16:5: note: each undeclared identifier is reported only once for each function it appears in
#if MPC_VERSION < MPC_VERSION_NUM(0,8,1) |
choke me |
#endif |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
きっとライブラリが古いに違いない。
ということで http://memo.saitodev.com/home/cygwin こちらのページを参考にライブラリのアップデートを実行。
そのあとで試してみる。PPLってのはなんだろ。