From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19741 invoked by alias); 12 Aug 2008 09:00:51 -0000 Received: (qmail 19733 invoked by uid 22791); 12 Aug 2008 09:00:50 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 12 Aug 2008 09:00:15 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m7C90C8X005088; Tue, 12 Aug 2008 05:00:13 -0400 Received: from zebedee.pink (vpn-12-2.rdu.redhat.com [10.11.12.2]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m7C909oR008292; Tue, 12 Aug 2008 05:00:10 -0400 Message-ID: <48A15119.1040509@redhat.com> Date: Tue, 12 Aug 2008 09:07:00 -0000 From: Andrew Haley User-Agent: Thunderbird 2.0.0.16 (X11/20080707) MIME-Version: 1.0 To: "Yuan, Sai (NSN - CN/Cheng Du)" CC: gcc-help@gcc.gnu.org Subject: Re: How to install 32 bit gcc on 64 bit RHEL5.1 References: <174CED94DD8DC54AB888B56E103B11870ABDB0@CNBEEXC007.nsn-intra.net> In-Reply-To: <174CED94DD8DC54AB888B56E103B11870ABDB0@CNBEEXC007.nsn-intra.net> Content-Type: text/plain; charset=ISO-8859-1 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: 2008-08/txt/msg00111.txt.bz2 Yuan, Sai (NSN - CN/Cheng Du) wrote: > It caused me to doubt whether it can install 32 bit gcc on 64 bit Linux. Btw, the version i want to install is 32bit gcc 4.1.2. > Could you please help me? It's complaining that you haven't installed a 32-bit cross assembler. I guess that's right, is it? You didn't build cross-binutils for i386? Why are you doing such a strange thing? gcc will already generate 32-bit code with "gcc -m32". Andrew.