This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Compiling gcc 4.4.0 for Cell


Hello gcc list,

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.

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:

[root@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
[root@ps3 gcc-4.4.0]#

Anyone have any tips to get this compiled?

Thanks.

Sincererly,
Phil Pratt-Szeliga


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]