From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12084 invoked by alias); 9 May 2007 11:30:50 -0000 Received: (qmail 12074 invoked by uid 22791); 9 May 2007 11:30:49 -0000 X-Spam-Check-By: sourceware.org Received: from web26209.mail.ukl.yahoo.com (HELO web26209.mail.ukl.yahoo.com) (217.12.10.246) by sourceware.org (qpsmtpd/0.31) with SMTP; Wed, 09 May 2007 11:30:46 +0000 Received: (qmail 87982 invoked by uid 60001); 9 May 2007 11:30:43 -0000 X-YMail-OSG: LvqTtUEVM1kysrSNcLk6YAmvye8BCQQ44eovyOcDL7LXTyJWpxn_FQ6CsFP.3zzZheHW84YAvA9e15DimyAmRyy_KF9kglnY.jDTiQPDE6mDzL.zic7SNCSkSbSK3Kz4s4Tt.CNXh3T8SA-- Received: from [195.74.249.146] by web26209.mail.ukl.yahoo.com via HTTP; Wed, 09 May 2007 11:30:43 GMT X-Mailer: YahooMailRC/651.23 YahooMailWebService/0.7.41.10 Date: Wed, 09 May 2007 11:30:00 -0000 From: none none Subject: Cross Compile Gcc To: gcc-help@gcc.gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=ascii Message-ID: <876356.86731.qm@web26209.mail.ukl.yahoo.com> Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2007-05/txt/msg00064.txt.bz2 Hi everyone, I have this very peculiar error when I try to make gcc for cross compilation with target a powerpc on my Ubuntu 7.0.4 box. I keep getting the error: make[2]: powerpc-linux-ar: Command not found make[2]: *** [libgcc.a] Error 127 make[2]: Leaving directory `/opt/powerpc/build-gcc/gcc' make[1]: *** [stmp-multilib] Error 2 make[1]: Leaving directory `/opt/powerpc/build-gcc/gcc' make: *** [all-gcc] Error 2 The thing is that I have already build binutils 2.16 and 2.17 and I have tried with gcc 4.1.0 and 4.1.2 (and some older versions as well, 3.3.2 etc). I configure binutils with the command: /home/idipous/Desktop/binutils-2.16/configure --target=powerpc-linux --prefix=/opt/powerpc and sudo make all install and then I export the path with the command: export PATH=$PATH:/opt/powerpc/bin I configure gcc with the command: sudo /home/idipous/Desktop/gcc-4.1.0/configure --target=powerpc-linux --prefix=/opt/powerpc/ --disable-shared --disable-threads --enable-languages=c --with-newlib and then sudo make all-gcc install-gcc This error I expected to have it in case I forgot to export the path in which the powerpc-linux-ar was in. But this is in the /opt/powerpc/bin. It is driving me nuts. With older versions of gcc I have the same error with powerpc-linux-ranlib. Any ideas? Thanks in advance Andreas ___________________________________________________________ Now you can scan emails quickly with a reading pane. Get the new Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html