STEP00

「STEP00」の編集履歴(バックアップ)一覧に戻る

STEP00 - (2011/11/01 (火) 00:09:58) の編集履歴(バックアップ)


開発環境の作成


10/31
■binutilsのビルドはOK(多分)
 原因は‥
 ①GCCのパスが通ってなかった。
 ②makeのインストールができてなかった。だったみたい。
 上記を対応すると、うまくいった。

gccもこのままいけると思いきや

■GCCのビルドが‥orz

yukon@yukon-PC ~/gcc-3.4.6
$ ./configure --target=h8300-elf --disable-nls --disable-threads--disable-share
d --enable-languages=c
configure: error: can not find sources in . or ..

また明日!
そういえば秋月から連絡あって、今日速達で送ったそうな。

10/30
■今出てるエラー
yukon@yukon-PC ~/binutils-2.19.1/binutils
$ ./configure --target=h8300-elf --disable-nls --disable-werror make

configure: WARNING: you should use --build, --host, --target
checking build system type... Invalid configuration `make': machine `make' not r
ecognized
configure: error: /bin/sh ./../config.sub make failed


今出てるエラーについて

①binutils-2.19.1.tar.gzは下記からダウンロード
 http://ftp.yz.yamagata-u.ac.jp/pub/GNU/binutils/binutils-2.19.1.tar.gz
②/home/yukon/の下に①でダウンロードしたファイルをコピー
③cd /home/yukon/
④tar xvzf binutils-2.19.1.tar.gz
⑤cd binutils-2.19.1
⑥./configure --target=h8300-elf --disable-nls<ENTER>
 一行じゃないとだめってのは嘘です~
 あと自分の場合は--disable-werrorが無くても出来たのではじめは無しで試してもらえますか?
⑦make<ENTER>
⑧make install<ENTER>

coufigure error no acceptable C compiler found in $PATH

これはコンパイラが無いって言われてるんですかね?
gcc
って打った場合にcommand not foundとか出てないっすかね?
もし出てたら下記のことをやってみてください
①cygwin setup.exeを起動
②インストールと同じで インストールするパッケージ選択画面まで進む
③Develのgccを選択
④インストールする