From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32676 invoked by alias); 9 Oct 2008 02:16:00 -0000 Received: (qmail 32053 invoked by uid 48); 9 Oct 2008 02:14:40 -0000 Date: Thu, 09 Oct 2008 02:16:00 -0000 Message-ID: <20081009021440.32052.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/37777] error: 'ASM_SHORT' undeclared (first use in this function) In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "cnstar9988 at gmail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-10/txt/msg00610.txt.bz2 ------- Comment #2 from cnstar9988 at gmail dot com 2008-10-09 02:14 ------- yes, I changed config.gcc, to workaround PR33100. I want to build gcc 4.3.2 on solaris 10. Index: gcc/config.gcc =================================================================== --- gcc/config.gcc (revision 140759) +++ gcc/config.gcc (working copy) @@ -1205,7 +1205,10 @@ i[34567]86-*-solaris2*) *-*-solaris2.1[0-9]*) tm_file="${tm_file} i386/x86-64.h i386/sol2-10.h" tm_defines="${tm_defines} TARGET_BI_ARCH=1" - tmake_file="$tmake_file i386/t-crtstuff i386/t-sol2-10" + tmake_file="$tmake_file i386/t-sol2-10" + if test x$gnu_ld = xyes; then + tmake_file="$tmake_file i386/t-crtstuff" + fi need_64bit_hwint=yes case X"${with_cpu}" in Xgeneric|Xcore2|Xnocona|Xx86-64|Xamdfam10|Xbarcelona|Xk8|Xopteron|Xathlon64|Xathlon-fx) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37777