LiMo BBS Mobile
No.000353
Sep.14 19:33'30
[]
Wiki Edit
--
t;% cd gcc-2.95.3
24<
25>>% ln -s ../newlib-1.9.0/newlib/ .
25<*gcc-core-2.95.3
26>
26<初期環境構築時は C Compiler だけあれば良いので gcc-core を用います。
27>*gcc-core-2.95.3
27<最初のコンパイルは newlib を使って動作する仮版の gcc で、その仮版は glibc をビルドするために作られます。
28>初期環境構築時は C Compiler だけあれば良いので gcc-core を用います。
28
29>最初のコンパイルは newlib を使って動作する仮版の gcc で、その仮版は glibc をビルドするために作られます。
29<>% mkdir objgcc
30>gcc-2.95.3 のソースディレクトリと同じ階層に作業用ビルドディレクトリを作りその中で作業します。
30<>% cd objgcc
31>>% mkdir objgcc
31<>% ../gcc-2.95.3/configure --target=powerpc-linux \
32>>% cd objgcc
32<> --prefix=/usr/local/powerpc-linux --with-newlib
33>>% ../gcc-2.95.3/configure --target=powerpc-linux \
33<>% make
34>> --prefix=/usr/local/powerpc-linux --with-newlib
34<>% make install
35>>% make
35<
36>>% make install
36<*newlib-1.9.0
37>
37<> % mkdir objnewlib
38>*newlib-1.9.0
38<> % ../newlib-1.9.0/configure --target=powerpc-linux \
39>> % mkdir objnewlib
39<> --prefix=/usr/local/powerpc-linux/
40>> % ../newlib-1.9.0/configure --target=powerpc-linux \
40<> % make
41>> --prefix=/usr/local/powerpc-linux/
41<> % make install
42>> % make
42<
43>> % make install
43<*glibc-2.2.3
44>
44<2.2.3 は LinkStation のシステムで使われているバージョン。
45>*glibc-2.2.3
45
46>2.2.3 は LinkStation のシステムで使われているバージョン。
46<>% export LINUXSRC=(カーネルソースのディレクトリ)
47>glibc のビルドには Linux kernel が必要です。LinkStation で
先頭/
続き/
後退
一覧へ
LiMo BBS System
- PhoneArticle
$Id: pl.rhtml,v 1.2 2003/05/17 17:19:11 rero2 Exp $