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

RYOUichi KIDa ryouichi.kida @ gmail.com
2008年 11月 17日 (月) 12:54:36 JST


gcc-coreだけ引っ張ったはずなのにC++の
ビルトインライブラリ作成しに行っている時点で
おかしいです。

--enable-languages=c

って足りなくないですか?


2008/11/17 12:40  <h-fukuda @ progresstech.jp>:
> 度々ご助言頂き本当にありがとうございます。 福田です。
>
>
> どうにもうまくいかないので開発環境を
>
> 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は正常どおりインストールされていました。
>
>
> お手数かと思いますが何かお気づきの点ありましたらご助言の程よろしくお願い
> します。
>
>
>
>
>
>
>



-- 
りょーいち kida
ryouichi.kidaなるとgmailどっとこむ