From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20260 invoked by alias); 21 Jan 2002 20:59:28 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 20148 invoked from network); 21 Jan 2002 20:59:24 -0000 Received: from unknown (HELO hiauly1.hia.nrc.ca) (132.246.100.193) by sources.redhat.com with SMTP; 21 Jan 2002 20:59:24 -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 g0LKxLFN025946; Mon, 21 Jan 2002 15:59:22 -0500 (EST) Received: (from dave@localhost) by hiauly1.hia.nrc.ca (8.12.0.Beta16/8.12.0.Beta16) id g0LKxLZ6025945; Mon, 21 Jan 2002 15:59:21 -0500 (EST) Message-Id: <200201212059.g0LKxLZ6025945@hiauly1.hia.nrc.ca> Subject: Re: Fix ld_library_path in g77.exp for hppa64-hp-hpux11.X To: dave@hiauly1.hia.nrc.ca (John David Anglin) Date: Mon, 21 Jan 2002 13:02:00 -0000 From: "John David Anglin" Cc: gcc-patches@gcc.gnu.org, toon@moene.indiv.nluug.nl In-Reply-To: from "John David Anglin" at Jan 21, 2002 03:53:31 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2002-01/txt/msg01405.txt.bz2 > > HP-UX shared libraries usually end in '.sl'. The patch removes the check > for libg2c.so before appending the path for for it to ld_library_path. > See similar code in g++.exp. This patch fixes several hundred FAILs on > hppa64-hp-hpux11.X in running the g77 testsuite. > > OK to install? > > Dave > -- > J. David Anglin dave.anglin@nrc.ca > National Research Council of Canada (613) 990-0752 (FAX: 952-6605) > And the patch! -- J. David Anglin dave.anglin@nrc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6605) 2002-01-21 John David Anglin * lib/g77.exp (g77_link_flags): Remove check for libg2c.so in setting ld_library_path. --- g77.exp.orig Mon Nov 19 23:03:52 2001 +++ g77.exp Sun Jan 20 19:09:46 2002 @@ -83,9 +83,7 @@ if { $gccpath != "" } { if [file exists "${gccpath}/libf2c/.libs/libg2c.a"] { append flags "-L${gccpath}/libf2c/.libs " - if [file exists "${gccpath}/libf2c/.libs/libg2c.so"] { - append ld_library_path ":${gccpath}/libf2c/.libs" - } + append ld_library_path ":${gccpath}/libf2c/.libs" } if [file exists "${gccpath}/libf2c/libfrtbegin.a"] { append flags "-L${gccpath}/libf2c "