From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7772 invoked by alias); 14 Mar 2011 01:55:13 -0000 Received: (qmail 7761 invoked by uid 22791); 14 Mar 2011 01:55:12 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST X-Spam-Check-By: sourceware.org Received: from mail-fx0-f47.google.com (HELO mail-fx0-f47.google.com) (209.85.161.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 14 Mar 2011 01:55:06 +0000 Received: by fxm19 with SMTP id 19so2446831fxm.20 for ; Sun, 13 Mar 2011 18:55:04 -0700 (PDT) Received: by 10.223.106.78 with SMTP id w14mr637268fao.35.1300067704371; Sun, 13 Mar 2011 18:55:04 -0700 (PDT) Received: from [127.0.0.1] ([46.28.108.24]) by mx.google.com with ESMTPS id 5sm2811705fak.23.2011.03.13.18.55.00 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 13 Mar 2011 18:55:03 -0700 (PDT) Message-ID: <4D7D756F.2090008@googlemail.com> Date: Mon, 14 Mar 2011 01:55:00 -0000 From: Michael Zintakis User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 MIME-Version: 1.0 To: Ian Lance Taylor CC: gcc-help@gcc.gnu.org Subject: Re: building native cross compiler References: <4D7A37DD.8030205@googlemail.com> <4D7A5420.4000608@googlemail.com> <4D7A8A4D.2080706@googlemail.com> <4D7AB3BB.7060208@googlemail.com> <4D7CD348.2060509@googlemail.com> <4D7D40C8.3060707@googlemail.com> <4D7D666C.8010400@googlemail.com> <4D7D6FAA.70302@googlemail.com> <4D7D738C.2010407@googlemail.com> In-Reply-To: <4D7D738C.2010407@googlemail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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: 2011-03/txt/msg00144.txt.bz2 > Currently I took the plunge and dumped the whole binutils directory in > the main gcc source...will see how it goes after I selected > --host=x86_64 and --target=powerpc, fingers crossed! Nope! :-( Same error, though things are a bit different with the binutils package: Configuring in powerpc-redhat-linux/libgcc configure: creating cache ./config.cache checking for --enable-version-specific-runtime-libs... no checking for a BSD-compatible install... /usr/bin/install -c checking for gawk... gawk checking build system type... x86_64-redhat-linux-gnu checking host system type... powerpc-redhat-linux-gnu checking for powerpc-redhat-linux-ar... /home/mz/gcc-test/gcc-build/./binutils/ar checking for powerpc-redhat-linux-lipo... powerpc-redhat-linux-lipo checking for powerpc-redhat-linux-nm... /home/mz/gcc-test/gcc-build/./gcc/nm checking for powerpc-redhat-linux-ranlib... /home/mz/gcc-test/gcc-build/./binutils/ranlib checking for powerpc-redhat-linux-strip... /home/mz/gcc-test/gcc-build/./binutils/strip checking whether ln -s works... yes checking for powerpc-redhat-linux-gcc... /home/mz/gcc-test/gcc-build/./gcc/xgcc -B/home/mz/gcc-test/gcc-build/./gcc/ -B/usr/powerpc-redhat-linux/bin/ -B/usr/powerpc-redhat-linux/lib/ -isystem /usr/powerpc-redhat-linux/include -isystem /usr/powerpc-redhat-linux/sys-include checking for suffix of object files... configure: error: in `/home/mz/gcc-test/gcc-build/powerpc-redhat-linux/libgcc': configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. make[1]: *** [configure-target-libgcc] Error 1 make[1]: Leaving directory `/home/mz/gcc-test/gcc-build' make: *** [all] Error 2 I see ar, ranlib and strip have been picked up from the binutils directory though the error is exactly the same as before - line 83 exec not found (what exec id doesn't say). So, I presume I have to build binutils first and place the executables in prefix/target/bin, right? MZ