From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2917 invoked by alias); 19 Mar 2004 15:01:57 -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 2896 invoked from network); 19 Mar 2004 15:01:56 -0000 Received: from unknown (HELO mail.libertysurf.net) (213.36.80.91) by sources.redhat.com with SMTP; 19 Mar 2004 15:01:56 -0000 Received: from localhost.localdomain (212.129.54.85) by mail.libertysurf.net (6.5.036) id 4059C8D3001F2534; Fri, 19 Mar 2004 16:01:48 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Eric Botcazou To: "Balaji Srinivasa" Subject: Re: GCC 3.2.3 on Solaris 2.7 Date: Fri, 19 Mar 2004 16:28:00 -0000 User-Agent: KMail/1.4.3 Cc: gcc@gcc.gnu.org References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200403191605.34833.ebotcazou@libertysurf.fr> X-SW-Source: 2004-03/txt/msg01139.txt.bz2 > My bigger question is this: > 1. I want a compiler that can build me 32 & 64 bit executables > on single box. > 2. My base level support is Solaris 2.6 > Can I even do this? I think you need 2 compilers in any cases, unless you want to hack GCC itself. > 1. Do I need a version hosted on 2.6 for all 32 bits > 2. A version hosted on a 64bit 2.7 (though it is 32 bit) > for all 64 bit output? > > I need to support 32 bits 2.6->2.9, 64 bits 2.7->2.9 Then build a native 32-bit compiler on the Solaris 2.6 machine and a native 32/64-bit compiler on the Solaris 7 machine. This would greatly simplify everything. > BTW, I plan to use /usr/ccs/bin/as and /usr/ccs/bin/ld for all my needs. Fine, that's what I use every day. Be sure to check the Solaris-specific GCC release notes though. -- Eric Botcazou