From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30847 invoked by alias); 30 Jul 2002 21:36:21 -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 30837 invoked from network); 30 Jul 2002 21:36:17 -0000 Received: from unknown (HELO motgate.mot.com) (129.188.136.100) by sources.redhat.com with SMTP; 30 Jul 2002 21:36:17 -0000 Received: [from mothost.mot.com (mothost.mot.com [129.188.137.101]) by motgate.mot.com (motgate 2.1) with ESMTP id OAA21198 for ; Tue, 30 Jul 2002 14:36:17 -0700 (MST)] Received: [from il27exm07.cig.mot.com (IL27EXM07.cig.mot.com [136.182.15.116]) by mothost.mot.com (MOT-pobox 2.0) with ESMTP id OAA21609 for ; Tue, 30 Jul 2002 14:36:35 -0700 (MST)] Received: by IL27EXM07.cig.mot.com with Internet Mail Service (5.5.2654.52) id ; Tue, 30 Jul 2002 16:36:17 -0500 Message-ID: From: Kick Damien-DKICK1 To: "'gcc-help@gcc.gnu.org'" Cc: Kick Damien-DKICK1 Subject: Problems building gcc-3.1.1 on 32-bit sparc-sun-solaris2.7 Date: Tue, 30 Jul 2002 14:36:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" X-SW-Source: 2002-07/txt/msg00289.txt.bz2 I'm having problems building gcc-3.1.1 on a 32-bit sparc-sun-solaris2.7. checking whether the C compiler (/usr/test/awo/user_work/kick/obj/sparc-sun-solaris2.7-32/gcc-3.1.1/gcc/xgcc -B/usr/test/awo/user_work/kick/obj/sparc-sun-solaris2.7-32/gcc-3.1.1/gcc/ -B/usr/test/awo/user_work/kick/sparc-sun-solaris2.7-32/sparc-sun-solaris2.7/ bin/ -B/usr/test/awo/user_work/kick/sparc-sun-solaris2.7-32/sparc-sun-solaris2.7/ lib/ -isystem /usr/test/awo/user_work/kick/sparc-sun-solaris2.7-32/sparc-sun-solaris2.7/in clude -m64 -g -O2 ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. make[1]: *** [configure-target-libiberty] Error 1 make[1]: Leaving directory `/usr/test/awo/user_work/kick/obj/sparc-sun-solaris2.7-32/gcc-3.1.1' make: *** [bootstrap] Error 2 [kick@csdndev07 sparc-sun-solaris2.7-32/gcc-3.1.1]% isainfo -v 32-bit sparc applications [kick@csdndev07 sparc-sun-solaris2.7-32/gcc-3.1.1]% cat config.status #!/bin/sh # This file was generated automatically by configure. Do not edit. # This directory was configured as follows: ../../../src/gcc-3.1.1/configure --with-gcc-version-trigger=/usr/test/awo/user_work/kick/src/gcc-3.1.1/gcc/ve rsion.c --host=sparc-sun-solaris2.7 --prefix=/usr/test/awo/user_work/kick/sparc-sun-solaris2.7-32 --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --enable-languages=c,c++ --norecursion # using "mh-frag" [kick@csdndev07 sparc-sun-solaris2.7-32/gcc-3.1.1]% I'm assuming that the problem is from the '.../xgcc ... -m64 ...' as the box has not been enabled for 64-bit applicaitons. Does this sound reasonable? Why is 'configure' assuming that I want 64-bit? Is there an option that I can pass to 'configure' to explicitly request '-m32'? -- Damien Kick