LiMo BBS Mobile


- Disp Article -

No.000353
Sep.14 19:33'30
[]
Wiki Edit
--
▲前▲
ke install
83<*おまけ、セルフコンパイル環境をクロスコンパイルする
84>
84<>% expott SELFENV=(セルフコンパイルバイナリを置く場所)
85>*おまけ、セルフコンパイル環境をクロスコンパイルする
85<>% ../binutils-2.14/configure --build=i686-pc-linux-gnu --host=powerpc-linux \
86>>% expott SELFENV=(セルフコンパイルバイナリを置く場所)
86<> --prefix=$SELFENV --enable-targets=powerpc-linux-elf \
87>>% ../binutils-2.14/configure --build=i686-pc-linux-gnu --host=powerpc-linux \
87<> --enable-shared
88>> --prefix=$SELFENV --enable-targets=powerpc-linux-elf \
88<>% ../gcc-core-2.95.3/configure --build=i686-pc-linux-gnu \
89>> --enable-shared
89<> --host=powerpc-linux --with-lib=/usr/local/powerpc-linux/lib \
90>>% ../gcc-core-2.95.3/configure --build=i686-pc-linux-gnu \
90<> --with-include=/usr/local/powerpc-linux/include/ \
91>> --host=powerpc-linux --with-lib=/usr/local/powerpc-linux/lib \
91<> --prefix=$SELFENV --enable-shared
92>> --with-include=/usr/local/powerpc-linux/include/ \
92<作った後の環境は $SELFENV に置かれているものとして動作するので、LinkStation上に持っていったあと $SELFENV と同じディレクトリに入れるかシンボリックリンクを駆使して同等の環境を作る。
93>> --prefix=$SELFENV --enable-shared
93<クロスコンパイル版セルフ開発環境がインストールできた後、できれば LinkStation 上で binutils と gcc をセルフコンパイルして問題ないバイナリを作った方が良いと思われる。そうすることで $SELFENV ディレクトリは不要になるので。
94>作った後の環境は $SELFENV に置かれているものとして動作するので、LinkStation上に持っていったあと $SELFENV と同じディレクトリに入れるかシンボリックリンクを駆使して同等の環境を作る。
94<
95>クロスコンパイル版セルフ開発環境がインストールできた後、できれば LinkStation 上で binutils と gcc をセルフコンパイルして問題ないバイナリを作った方が良いと思われる。そうすることで $SELFENV ディレクトリは不
▼続き▼


先頭/ 続き/ 後退

一覧へ

新規トピック作成

LiMo BBS System
- PhoneArticle
$Id: pl.rhtml,v 1.2 2003/05/17 17:19:11 rero2 Exp $