From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1285 invoked by alias); 29 Jan 2003 23:52:19 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 1278 invoked from network); 29 Jan 2003 23:52:18 -0000 Received: from unknown (HELO localhost.redhat.com) (172.16.49.200) by 172.16.49.205 with SMTP; 29 Jan 2003 23:52:18 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id E91C94074; Wed, 29 Jan 2003 18:52:11 -0500 (EST) Message-ID: <3E38692B.1020700@redhat.com> Date: Wed, 29 Jan 2003 23:52:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.1) Gecko/20021211 X-Accept-Language: en-us, en MIME-Version: 1.0 To: dj@redhat.com, gdb-patches@sources.redhat.com Subject: Use TCL_CC_SEARCH_FLAGS, not TCL_LD_SEARCH_FLAGS Content-Type: multipart/mixed; boundary="------------030403040106070607080102" X-SW-Source: 2003-01/txt/msg00795.txt.bz2 This is a multi-part message in MIME format. --------------030403040106070607080102 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 420 This sets the tcl library flag based on CC search flags and not the LD search flags. The problem was with rpath vis: CC_SEARCH_PATH -Wl,-rpath,/non/existant/directory LD_SEARCH_PATH -rpath /non/existant/directory it was trying to pass `-rpath /...' to $(CC) and GCC didn't like that. DJ, According to ../MAINTAINERS, I send these to you? It's checked in. What next? It relates to `cygnus local' stuff. Andrew --------------030403040106070607080102 Content-Type: text/plain; name="diffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diffs" Content-length: 1041 Index: ChangeLog 2003-01-29 Andrew Cagney * configure.in (EXP_AND_TCL_LIBS): Set to TCL_CC_SEARCH_FLAGS instead of TCL_LD_SEARCH_FLAGS. (EXP_AND_TK_LIBS): Ditto. * configure: Regneerate. Index: configure.in =================================================================== RCS file: /cvs/src/src/expect/configure.in,v retrieving revision 1.6 diff -u -r1.6 configure.in --- configure.in 11 Apr 2002 23:13:38 -0000 1.6 +++ configure.in 29 Jan 2003 23:43:26 -0000 @@ -1193,8 +1193,8 @@ # now broken out into EXP_AND_TCL_LIBS and EXP_AND_TK_LIBS. Had to do this # in order to avoid repeating lib specs to which some systems object. -EXP_AND_TCL_LIBS="$EXP_AND_TCL_LIBS $TCL_LD_SEARCH_FLAGS" -EXP_AND_TK_LIBS="$EXP_AND_TK_LIBS $TCL_LD_SEARCH_FLAGS" +EXP_AND_TCL_LIBS="$EXP_AND_TCL_LIBS $TCL_CC_SEARCH_FLAGS" +EXP_AND_TK_LIBS="$EXP_AND_TK_LIBS $TCL_CC_SEARCH_FLAGS" # Sigh - Tcl defines SHLIB_LD_LIBS to be either empty or ${LIBS} and # LIBS is intended to be expanded by Make. But since we're too close --------------030403040106070607080102--