This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]