gzip -dc binutils-2.8.1.tar.gz | tar xvf -
gzip -dc diff-binutils-2.8.1.psx.gz | patch -p
cd binutils-2.8.1
./configure --target=psx
make
make install
cp -r
yaroze/psx/include/*
/usr/local/psx/include
cp
yaroze/lib/libps.a
/usr/local/psx/lib
/usr/local/bin/psx-ranlib /usr/local/psx/lib/libps.a
gzip -dc gcc-2.8.0.tar.gz | tar xvf -
gzip -dc diff-gcc-2.8.0.psx.gz | patch -p
cd gcc-2.8.0
./configure --target=psx --with-gnu-as --with-gnu-ld
make -k LANGUAGES=c
...中略...
文字列に漢字を使いたい場合は -DKANJI
を追加してください。
(example: CFLAGS='-O -DKANJI'
)
make -k LANGUAGES=c install
cd /usr/local/lib/gcc-lib/psx/2.8.0
mv include include.orig
gzip -dc egcs-1.0.1.tar.gz | tar xvf -
gzip -dc diff-egcs-1.0.1.psx.gz | patch -p
mkdir psx
cd psx
../egcs-1.0.1/configure --target=psx --with-gnu-as --with-gnu-ld
新しもの好きなら--enable-haifa
もつけてみるとよいでしょう
cd gcc
% make -k LANGUAGES=c
...中略...
文字列に漢字を使いたい場合は -DKANJI
を追加してください。
(example: CFLAGS='-O -DKANJI'
)
make -k LANGUAGES=c install
cd /usr/local/lib/gcc-lib/psx/egcs-1.0.1
mv include include.orig
gzip -dc gdb-4.16.tar.gz | tar xvf -
gzip -dc diff-gdb-4.16.psx.gz | patch -p
cd gdb-4.16
./configure --target=psx
make
make install
gzip -dc hssutils-0.1.2.tar.gz | tar xvf -
cd hssutils-0.1.2
./configure --enable-siodev=
devfile
--enable-siospeed=
bps/dev/cuaa0
),
bps(example: 115200
)
make
make install