STEP00

開発環境の作成



11/2
configure: error: can not find sources in . or ..
の内容が分からん。。オプション付加で解決するとかだけチラッと書いてるページはあったけど。。
とりあえず土曜日までお預け!

了解です
自分がやった内容はこれだけ
↓からgccをダウンロード
http://ftp.yz.yamagata-u.ac.jp/pub/GNU/gcc/gcc-3.4.6/gcc-3.4.6.tar.gz
上記ファイルを C:\cygwin\home\xxxにコピー(インストールフォルダによって変わる)
cygwinの立ち上げ
tar xvzf gcc-3.4.6.tar.gz
cd gcc-3.4.6
ls
↑gccっていうフォルダがある事を確認
./configure --target=h8300-elf --disable-nls --disable-threads --disable-shared --enable-languages=c
make
make install
(11/11/02)

10/31
■binutilsのビルド~make installは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 ..

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

ソースが無いって言われてますね~
何ですかね。。
ソースの. か .. が無いってことですかね?

--disable-threads--disable-share
↑のオプションの間ってスペース入ってますか

今週中に解決しなかったら行きます
(2011/11/01)

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を選択
④インストールする

タグ:

+ タグ編集
  • タグ:

このサイトはreCAPTCHAによって保護されており、Googleの プライバシーポリシー利用規約 が適用されます。

最終更新:2012年04月25日 20:32