(toppers-users 2836) Re: サンプルプログラムの構築

h-fukuda @ progresstech.jp h-fukuda @ progresstech.jp
2008年 11月 17日 (月) 12:40:01 JST


度々ご助言頂き本当にありがとうございます。 福田です。


どうにもうまくいかないので開発環境を

binutils-2.16.1
gcc-3.4.1(gcc-core-3.4.1解凍済み)
newlib なし

に変えまして同じ方法で再インストールを行っていますが、やはりエラーに縁が
あるらしく、gccのmakeの際に以下のような文が出力されました。

checking how to run the C preprocessor...  /temp2/gcc-3.4.1/objdir/gcc/x
gcc -B/
emp2/gcc-3.4.1/objdir/gcc/ -B/usr/local/h8300-hms/bin/ -B/usr/local/h830
0-hms/l
b/ -isystem /usr/local/h8300-hms/include -isystem /usr/local/h8300-hms/s
ys-incl
de -E
checking for egrep... grep -E
checking for ANSI C header files... no
checking for sys/types.h... no
checking for sys/stat.h... no

<中略>

checking for thread model used by GCC... single
configure: Debug build flags set to -g3 -O0
checking for additional debug build... no
checking for extra compiler flags for building...
configure: WARNING: No native atomic operations are provided for this pl
atform.
configure: WARNING: They cannot be faked when thread support is disabled
.
configure: WARNING: Thread-safety of certain classes is not guaranteed.
configure: error: No support for this host/target combination.
make: *** [configure-target-libstdc++-v3] Error 1

ちなみにconfigureは

解凍したbinutils-1.16.1の中にobjdirを作成しその中で
../configure --target=h8300-hms --prefix=/usr/local --disable-nls
 
gccも同様にして
../configure --target=h8300-hms --prefix=/usr/local --with-gnu-as --with
-gnu-ld --without-newlib

で行いました。

また、
$ h8300-hms-ld -v
で確認してみたところ、binutilsは正常どおりインストールされていました。


お手数かと思いますが何かお気づきの点ありましたらご助言の程よろしくお願い
します。