From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5165 invoked by alias); 12 May 2003 19:24:09 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 17244 invoked from network); 12 May 2003 19:19:36 -0000 Received: from unknown (HELO jackson.localnet) (212.202.172.137) by sources.redhat.com with SMTP; 12 May 2003 19:19:36 -0000 Received: from localhost ([127.0.0.1]) by jackson.localnet with esmtp (Exim 4.14) id 19FIsq-00075k-QX; Mon, 12 May 2003 21:22:48 +0200 Date: Mon, 12 May 2003 19:24:00 -0000 Message-Id: <20030512.212240.893778964.rene.rebe@gmx.net> To: pkoning@equallogic.com Cc: drow@mvista.com, gcc@gcc.gnu.org Subject: Re: building a gcc-3.3-prerelease cross-compiler From: Rene Rebe In-Reply-To: <16063.53985.772832.598267@pkoning.dev.equallogic.com> References: <20030512142238.GA13775@nevyn.them.org> <20030512.185423.115908471.rene.rebe@gmx.net> <16063.53985.772832.598267@pkoning.dev.equallogic.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -26.1 (--------------------------) X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/) *19FIsq-00075k-QX*z/4AQf.bq0Y* X-SW-Source: 2003-05/txt/msg01217.txt.bz2 Hi, On: Mon, 12 May 2003 12:59:13 -0400, Paul Koning wrote: > Rene> (Is it intentional that the GCC install instructions point to > Rene> the rather old "Version: 1.01, Last Updated December 3, 1999" > Rene> CrossGCC/FAQ ? Maybe some more recent info should be included > Rene> in the install document ...) >=20 > Indeed. It would be even better if they actually worked. I have > never seen ones that work. The closest I have come is procedures that > result in a build process that aborts at some point, but gets far > enough to produce a compiler that appears to function. In ROCK Linux we always had working cross-compile functionality since we support cross build (of selected packages). We even do build a "pseudo" cross compile for native builds (e.g. to have a clean compiler for the real gcc build - and for system that have an old gcc and the new glibc-2.3 is selected to build). We had this code: if [ "$pkg" =3D "gcc2" ] ; then make -C gcc all LANGUAGES=3D"c" make -C gcc install LANGUAGES=3D"c" else make all make install fi Which I now changed to: if [ "$pkg" =3D "gcc2" ] ; then make -C gcc all LANGUAGES=3D"c" make -C gcc install LANGUAGES=3D"c" else make -C gcc all make -C gcc install fi And this seems to work for the 3.3-prerelease. I still need to test if this still works for the current stable 3.2.x branch ... You can browse it online at: http://schillernet.dyndns.org/svn/rock-linux/rock-trunk/package/base/gcc3/g= cc3.conf > paul Sincerely, Ren=E9 Rebe - ROCK Linux stable release maintainer --=20=20 Ren=E9 Rebe - Europe/Germany/Berlin rene@rocklinux.org rene.rebe@gmx.net http://www.rocklinux.org http://www.rocklinux.org/people/rene=20=20=20=20= =20=20=20 http://gsmp.tfh-berlin.de/gsmp http://gsmp.tfh-berlin.de/rene