Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Use TCL_CC_SEARCH_FLAGS, not TCL_LD_SEARCH_FLAGS
@ 2003-01-29 23:52 Andrew Cagney
  2003-01-30  0:08 ` DJ Delorie
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Cagney @ 2003-01-29 23:52 UTC (permalink / raw)
  To: dj, gdb-patches

[-- Attachment #1: Type: text/plain, Size: 420 bytes --]


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

[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 1041 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Use TCL_CC_SEARCH_FLAGS, not TCL_LD_SEARCH_FLAGS
  2003-01-29 23:52 Use TCL_CC_SEARCH_FLAGS, not TCL_LD_SEARCH_FLAGS Andrew Cagney
@ 2003-01-30  0:08 ` DJ Delorie
  0 siblings, 0 replies; 2+ messages in thread
From: DJ Delorie @ 2003-01-30  0:08 UTC (permalink / raw)
  To: ac131313; +Cc: gdb-patches


> DJ,
> 
> According to ../MAINTAINERS, I send these to you?  It's checked in. 
> What next?

I have no idea.  I don't remember how I got to be the expect
maintainer; it's the oddball in that list (well, it, etc, and utils),
as it doesn't exist in the gcc repository.  I think only dejagnu uses
that expect, and I don't know what the upstream rules are.  So if it's
in and you're happy, I'm not going to worry about it.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-01-30  0:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-29 23:52 Use TCL_CC_SEARCH_FLAGS, not TCL_LD_SEARCH_FLAGS Andrew Cagney
2003-01-30  0:08 ` DJ Delorie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox