From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8477 invoked by alias); 29 Jun 2009 06:13:57 -0000 Received: (qmail 8467 invoked by uid 22791); 29 Jun 2009 06:13:57 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mtagate7.de.ibm.com (HELO mtagate7.de.ibm.com) (195.212.29.156) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 29 Jun 2009 06:13:50 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate7.de.ibm.com (8.14.3/8.13.8) with ESMTP id n5T6Dbp3710606 for ; Mon, 29 Jun 2009 06:13:37 GMT Received: from d12av05.megacenter.de.ibm.com (d12av05.megacenter.de.ibm.com [9.149.165.216]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n5T6DVQn3588234 for ; Mon, 29 Jun 2009 08:13:37 +0200 Received: from d12av05.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av05.megacenter.de.ibm.com (8.13.1/8.13.3) with ESMTP id n5T6DUSD024650 for ; Mon, 29 Jun 2009 08:13:30 +0200 Received: from d12mc102.megacenter.de.ibm.com (d12mc102.megacenter.de.ibm.com [9.149.167.114]) by d12av05.megacenter.de.ibm.com (8.13.1/8.12.11) with ESMTP id n5T6DUFC024647; Mon, 29 Jun 2009 08:13:30 +0200 In-Reply-To: <982c94040906281206w6c7d2ce3k10121015b63401f5@mail.gmail.com> References: <982c94040906281206w6c7d2ce3k10121015b63401f5@mail.gmail.com> Subject: Re: Compiling gcc 4.4.0 for Cell To: Phil Pratt-Szeliga Cc: Paolo Bonzini , gcc@gcc.gnu.org Message-ID: From: Revital1 Eres Date: Mon, 29 Jun 2009 09:41:00 -0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-06/txt/msg00665.txt.bz2 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: > > [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