ps3dev / ps3toolchain

A script to autobuild an open source toolchain for the PS3.
BSD 2-Clause "Simplified" License
283 stars 92 forks source link

C++ for the SPU #23

Closed cebash closed 13 years ago

cebash commented 13 years ago

Hi,

I didn't find a spu-g++, is it possible to have it ?

Thanx

ooPo commented 13 years ago

I'll look into it.

ghost commented 13 years ago

I have not tried building any SPU-related with this, but I did compile an spu-g++:

Using built-in specs.
COLLECT_GCC=/usr/local/ps3dev/host/spu/bin/spu-g++
COLLECT_LTO_WRAPPER=/usr/local/ps3dev/host/spu/libexec/gcc/spu/4.5.2/lto-wrapper
Target: spu
Configured with: ../configure --prefix=/usr/local/ps3dev/host/spu --target=spu --disable-dependency-tracking --disable-libssp --disable-multilib --disable-nls --disable-shared --disable-win32-registry --enable-languages=c,c++ --enable-lto --enable-threads --with-newlib
Thread model: single
gcc version 4.5.2 (GCC) 

just add c++ to the --enable-languages line in the script.

ooPo commented 13 years ago

I've added this change. Let me know if you find any problems.