This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug bootstrap/25794] gcc won't link to new local glibc



------- Comment #7 from davek at csh dot rit dot edu  2006-01-17 07:41 -------
a better patch ->

--- orig/gcc-4.0.2/gcc/Makefile.in      Fri Sep  9 17:05:39 2005
+++ gcc-4.0.2/gcc/Makefile.in   Mon Jan 16 21:40:20 2006
@@ -73,6 +73,9 @@
 srcdir = @srcdir@
 docdir = @srcdir@/doc

+# hack
+BOOT_LDFLAGS = -Wl,--dynamic-linker,/usr/glibc2/lib/ld-linux.so.2
-Wl,-rpath,/usr/glibc2/lib
+
 # Directory where sources are, absolute.
 abs_srcdir = @abs_srcdir@
 abs_docdir = @abs_srcdir@/doc

I can't define it on the makefile line, because I have to change it throughout
the build.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25794


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