comparison CbC-INSTALL @ 45:d645ac0f55d6

add instration howto for PS3 to CbC-INSTALL.
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Fri, 29 Jan 2010 12:18:08 +0900
parents 59194914942b
children 65b2ea5f1266
comparison
equal deleted inserted replaced
44:a14cd9f25ac4 45:d645ac0f55d6
52 52
53 53
54 54
55 * PS3でのビルド 55 * PS3でのビルド
56 SPU 56 SPU
57 ../CbConGCC/configure --prefix=/usr/local/spu-cbc \ 57 $ ../GCC/configure CFLAGS='-g -O0' --prefix=$PWD/INSTALL_DIR
58 --build=powerpc --target=spu --program-prefix=spu- \ 58 --disable-nls --disable-shared --disable-threads
59 --disable-bootstrap --enable-checking=tree,rtl,assert \ 59 --enable-checking=tree,rtl,assert --with-system-zlib
60 --disable-nls --disable-shared --disable-threads \ 60 --with-newlib --enable-languages=c
61 --enable-languages=c --with-system-zlib --with-newlib \ 61 --enable-version-specific-runtime-libs --disable-libssp
62 --enable-version-specific-runtime-libs --disable-libssp \ 62 --program-prefix=cbc-spu- --target=spu --disable-bootstrap
63 --with-gnu-as -with-as=/usr/bin/spu-as --with-gnu-ld \ 63 $ make && make install
64 --with-ld=/usr/bin/spu-ld 64 $ cd INSTALL_DIR; ln -s /usr/spu; cd ..
65 で、動作確認のあと
66 $ sudo make prefix=/usr/local/cbc install
67 $ cd /usr/local/cbc; ln -s /usr/spu; cd -
68
65 PPU 69 PPU
66 binutils 70 $ ../GCC/configure --prefix=$PWD/INSTALL_DIR
67 $ tar xzvf binutils-...tar.gz 71 --host=ppc64-redhat-linux --build=ppc64-redhat-linux
68 $ mkdir binutils_4ps3 72 --target=ppc64-redhat-linux --program-prefix=cbc- --disable-bootstrap
69 $ cd binutils_4ps3 73 --enable-checking=tree,rtl,assert --disable-nls --enable-shared
70 $ ../binutils../configure --prefix=$PWD/INSTALL_DIR 74 --enable-thread=posix --enable-languages=c --with-system-zlib
71 > --target=ppc64-yellowdog-linux 75 --enable-__cxa_atexit --disable-libunwind-exceptions --disable-dssi
72 $ make install 76 --enable-plugin --with-long-double-128 --with-gnu-as
73 $ cd .. 77 --with-as=/usr/bin/as --with-gnu-ld --with-ld=/usr/bin/ld
74 cross gcc 78 --with-cpu=default32
75 $ mkdir gcc_4ps3 79 $ make && make install
76 $ PATH=$PWD/../binutils_4ps3/INSTALL_DIR/bin:$PATH 80 動作確認
77 $ ../CbConGCC/configure --prefix=$PWD/INSTALL_DIR 81 $ make prefix=/usr/local/cbc install
78 > --enable-language=c --target=ppc64-yellowdog-linux
79 > --with-newlib --with-included-gettext --enable-shared
80 > --enable-threads
81 $ make
82 82
83 83
84 84
85 * 琉球大学総合情報センターのSolarisサーバでのビルド (sparc) 85 * 琉球大学総合情報センターのSolarisサーバでのビルド (sparc)
86 86