From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30348 invoked by alias); 20 Dec 2002 23:58:13 -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 30331 invoked from network); 20 Dec 2002 23:58:11 -0000 Received: from unknown (HELO hiauly1.hia.nrc.ca) (132.246.100.193) by 209.249.29.67 with SMTP; 20 Dec 2002 23:58:11 -0000 Received: from hiauly1.hia.nrc.ca (localhost [127.0.0.1]) by hiauly1.hia.nrc.ca (8.12.0.Beta16/8.12.0.Beta16) with ESMTP id gBKNvAot022995; Fri, 20 Dec 2002 18:57:10 -0500 (EST) Received: (from dave@localhost) by hiauly1.hia.nrc.ca (8.12.0.Beta16/8.12.0.Beta16) id gBKNv9aC022994; Fri, 20 Dec 2002 18:57:09 -0500 (EST) Message-Id: <200212202357.gBKNv9aC022994@hiauly1.hia.nrc.ca> Subject: Re: Setting LD tool default to ld breaks configure check for ld used by GCC To: dave@hiauly1.hia.nrc.ca (John David Anglin) Date: Fri, 20 Dec 2002 17:39:00 -0000 From: "John David Anglin" Cc: binutils@sources.redhat.com, gcc-bugs@gcc.gnu.org, gcc@gcc.gnu.org, libtool@gcc.gnu.org, dj@redhat.com In-Reply-To: <200212171639.gBHGde2p008920@hiauly1.hia.nrc.ca> from "John David Anglin" at Dec 17, 2002 11:39:39 am MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2002-12/txt/msg01290.txt.bz2 > > The toplevel configure script sets "LD=ld". The ld used by the GCC check > > in the opcodes directory has the line > > > > test -z "$LD" && LD="$ac_prog" > > The above line comes from libtool.m4. If we set LD="" in the toplevel > configure script, the libtool script then sets LD to ld program used by > GCC. However, this define for LD isn't a proper default. So, I am > wondering if the libtool script should also reset LD when LD=ld? After some discussion of this matter on the libtool list, the conclusion is that Cygnus configure shouldn't be setting LD and other similar defines in native builds. PR 9031 has more details. Dave -- J. David Anglin dave.anglin@nrc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6605)