Hello,

> I am trying to compile gcc 4.4.0 for the Cell processor for my google
> summer of code project (GCC's OpenCL implementation starting point).
>
> I have used OpenMP for some things and now I am trying to compile
> everything on the Cell.  OpenMP is supported in the ppu-gcc 4.1.0 so
> I am trying to upgrade my PS3 to gcc 4.4.0.

You can configure PPU like any other 64-bit PowerPC processors,
for example, by specifying --target=powerpc64-unknown-linux-gnu.

HTH,
Revital

>
> I did
> #ppu-gcc -v
> and that got me how gcc was configured for the cell.
>
> So I pasted most of it into the shell:
>
> [r...@ps3 gcc-4.4.0]# ./configure --prefix=/usr
> --mandir=/usr/share/man --infodir=/usr/share/info
> --with-as=/usr/bin/ppu-as --with-ld=/usr/bin/ppu-ld --enable-threads
> --with-system-zlib --disable-checking --enable-__cxa_atexit
> --disable-libunwind-exceptions --enable-languages=c,c++,fortran,ada
> --disable-nls --enable-clocale=gnu
> --enable-version-specific-runtime-libs --with-long-double-128
> --program-prefix=ppu- --disable-bootstrap --host=ppu
> --build=powerpc64-unknown-linux-gnu --target=ppu
> checking build system type... powerpc64-unknown-linux-gnu
> checking host system type... Invalid configuration `ppu': machine
> `ppu' not recognized
> configure: error: /bin/sh ./config.sub ppu failed
> [r...@ps3 gcc-4.4.0]#
>
> Anyone have any tips to get this compiled?
>
> Thanks.
>
> Sincererly,
> Phil Pratt-Szeliga

Reply via email to