This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Use TCL_CC_SEARCH_FLAGS, not TCL_LD_SEARCH_FLAGS
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: dj at redhat dot com, gdb-patches at sources dot redhat dot com
- Date: Wed, 29 Jan 2003 18:52:11 -0500
- Subject: Use TCL_CC_SEARCH_FLAGS, not TCL_LD_SEARCH_FLAGS
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
Index: ChangeLog
2003-01-29 Andrew Cagney <ac131313@redhat.com>
* 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