From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 810 invoked by alias); 31 Jul 2002 08:21:01 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 802 invoked from network); 31 Jul 2002 08:21:00 -0000 Received: from unknown (HELO anchor-post-30.mail.demon.net) (194.217.242.88) by sources.redhat.com with SMTP; 31 Jul 2002 08:21:00 -0000 Received: from mailgate.softwire.co.uk ([62.49.203.138] helo=polarbear) by anchor-post-30.mail.demon.net with esmtp (Exim 3.35 #1) id 17Zoj5-00056g-0U; Wed, 31 Jul 2002 09:20:59 +0100 From: "Rupert Wood" To: "'Kick Damien-DKICK1'" Cc: Subject: RE: Problems building gcc-3.1.1 on 32-bit sparc-sun-solaris2.7 Date: Wed, 31 Jul 2002 01:21:00 -0000 Message-ID: <616BE6A276E3714788D2AC35C40CD18D56173F@whale.softwire.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal In-Reply-To: <616BE6A276E3714788D2AC35C40CD18D740854@whale.softwire.co.uk> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-SW-Source: 2002-07/txt/msg00291.txt.bz2 Damien Kick wrote: > Why is 'configure' assuming that I want 64-bit? Is there an option > that I can pass to 'configure' to explicitly request '-m32'? By default, GCC for sparc-solaris2.7+ will support both 32-bit and 64-bit builds. The problem is actually that you don't have /lib/sparcv9/values-*.o installed; it's failing a compile-confidence-check whilst configuring a 64-bit build of libiberty (which it needs to build 64-bit versions of the runtime libraries). You have two options: 1. Install the 64-bit object files from package SUNWarcx. You may then be able to build a compiler that targets both 64-bit and 32-bit builds on your 32-bit system. (You might also need SUNWcslx.) 2. Prevent it building 64-bit runtime libraries by adding '--disable-multilib' to your configure line. Good luck, Rup.