Modified and added some settings.
authorDavid Kunzman <kunzman2@illinois.edu>
Fri, 25 Aug 2006 04:36:19 +0000 (04:36 +0000)
committerDavid Kunzman <kunzman2@illinois.edu>
Fri, 25 Aug 2006 04:36:19 +0000 (04:36 +0000)
src/arch/net-linux-cell/conv-mach.sh

index 5cbf2f4c7d39f6f095c0a3e0f2d93bf3a628c0a9..5e8a60e90e7a3b2d16a5213369801a5a40eb769a 100644 (file)
@@ -1,18 +1,26 @@
-CELL_SDK_DIR="$HOME/cellsim"
+CELL_SDK_DIR="/opt/IBM/cell-sdk-1.1"
 
 CMK_CPP_CHARM='/usr/lib/cpp'
 CMK_CPP_C='ppu32-gcc -E'
 CMK_CXXPP='ppu32-g++ -E'
-CMK_CC="ppu32-gcc -fPIC -w -I$CELL_SDK_DIR/sysroot/usr/include"
-CMK_CXX="ppu32-g++ -fPIC -w  -I$CELL_SDK_DIR/sysroot/usr/include"
-CMK_LD="$CMK_CC -L$CELL_SDK_DIR/sysroot/usr/lib "
-CMK_LDXX="$CMK_CXX -L$CELL_SDK_DIR/sysroot/usr/lib "
+CMK_CC="ppu32-gcc -fPIC -w -I$CELL_SDK_DIR/sysroot/usr/include -L$CELL_SDK_DIR/sysroot/usr/lib"
+CMK_CXX="ppu32-g++ -fPIC -w  -I$CELL_SDK_DIR/sysroot/usr/include -L$CELL_SDK_DIR/sysroot/usr/lib"
+CMK_LD="$CMK_CC -L$CELL_SDK_DIR/sysroot/usr/lib"
+CMK_LDXX="$CMK_CXX -L$CELL_SDK_DIR/sysroot/usr/lib"
 
 CMK_SEQ_CC=$CMK_CC
 CMK_SEQ_CXX=$CMK_CXX
 CMK_SEQ_LD=$CMK_LD
 CMK_SEQ_LDXX=$CMK_LDXX
 
+CMK_SPE_CC="spu-gcc -W -Wall -Winline -Wno-main -Wl,-N -I$CELL_SDK_DIR/sysroot/usr/spu/include -L$CELL_SDK_DIR/sysroot/usr/spu/lib"
+CMK_SPE_CXX="spu-g++ -W -Wall -Winline -Wno-main -Wl,-N -I$CELL_SDK_DIR/sysroot/usr/spu/include -L$CELL_SDK_DIR/sysroot/usr/spu/lib"
+CMK_SPE_LD="spu-gcc -Wl,-N -L$CELL_SDK_DIR/sysroot/usr/spu/lib"
+CMK_SPE_LDXX="spu-g++ -Wl,-N -L$CELL_SDK_DIR/sysroot/usr/spu/lib"
+CMK_SPERT_LIBS="-lcellspu $CELL_SDK_DIR/sysroot/usr/spu/lib/libc.a $CELL_SDK_DIR/sysroot/usr/spu/lib/libsim.a"
+CMK_SPE_AR='spu-ar'
+CMK_PPU_EMBEDSPU='ppu32-embedspu'
+
 CMK_RANLIB='ppu-ranlib'
 CMK_AR='ppu-ar -r'
 CMK_LIBS='-lckqt -lcellppu -lspe'