From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10716 invoked by alias); 10 Mar 2004 17:22:45 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 10536 invoked from network); 10 Mar 2004 17:22:38 -0000 Received: from unknown (HELO Cantor.suse.de) (195.135.220.2) by sources.redhat.com with SMTP; 10 Mar 2004 17:22:38 -0000 Received: from hermes.suse.de (Hermes.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id EB0152CD012; Wed, 10 Mar 2004 18:22:37 +0100 (CET) To: Manoj Iyer Cc: Daniel Jacobowitz , Ian Lance Taylor , Andrew Cagney , gdb@sources.redhat.com Subject: Re: tcl cannot build 64bit. References: <404E3539.8010005@gnu.org> <404E44B8.8050605@gnu.org> <404E70B2.4010607@gnu.org> <20040310160535.GA489@nevyn.them.org> From: Andreas Schwab X-Yow: Four thousand different MAGNATES, MOGULS & NABOBS are romping in my gothic solarium!! Date: Wed, 10 Mar 2004 17:22:00 -0000 In-Reply-To: (Manoj Iyer's message of "Wed, 10 Mar 2004 16:40:39 +0100 (CET)") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2004-03/txt/msg00096.txt.bz2 Manoj Iyer writes: > I think I emailed the fix to the problem wrt to building tcl 64bit. All > it requires is a one line fix in Makefile.in. > > src/tcl/unix/Makefile.in:479 > > tclsh: ${TCLSH_OBJS} ${TCL_LIB_FILE} > ${CC} ${CFLAGS} ${LDFLAGS} ${TCLSH_OBJS} @TCL_BUILD_LIB_SPEC@ > ${LIBS} ${CC_SEARCH_FLAGS} -o tclsh > > > It is missing the ${CFLAGS} in the cc line. It shouldn't be needed, since it's a link command, not a compile command. If you need -m64 for linking you must add it to LDFLAGS. Or just use CC="$CC -m64" since it's actually a different compiler after all. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."