From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20981 invoked by alias); 12 Aug 2008 09:38:09 -0000 Received: (qmail 20972 invoked by uid 22791); 12 Aug 2008 09:38:08 -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:37:34 +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 m7C9bWta018354; Tue, 12 Aug 2008 05:37:32 -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 m7C9bVWK030219; Tue, 12 Aug 2008 05:37:31 -0400 Message-ID: <48A159DA.6030400@redhat.com> Date: Tue, 12 Aug 2008 12:01: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> <48A15119.1040509@redhat.com> <174CED94DD8DC54AB888B56E103B11870ABDB2@CNBEEXC007.nsn-intra.net> In-Reply-To: <174CED94DD8DC54AB888B56E103B11870ABDB2@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/msg00113.txt.bz2 Please don't top-post. Yuan, Sai (NSN - CN/Cheng Du) wrote: > Oh! I didn't install a 32-bit cross assembler. Where can i get this stuff? It's all part of GNU Binutils. > I didn't use "-m32" because it also compile in Clearcase environment. It's not easy for me to add this flag. You have got to be joking! Are you telling me that Clearcase is so unspeakably awful that you cannot control any compiler flags? Are you telling me that you cannot use a shell script to exec gcc with the -m32 flag? Andrew. > -----Original Message----- > From: ext Andrew Haley [mailto:aph@redhat.com] > Sent: Tue 8/12/2008 5:00 PM > 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 > > 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. > >