|
From: | Benoit Sigoure |
Subject: | RE: libstdc++ on solaris / rpath / gnulib's havelib macros |
Date: | Tue, 20 Feb 2007 08:31:25 +0100 |
User-agent: | Internet Messaging Program (IMP) H3 (4.0.2) |
Quoting David Byron <address@hidden>:
On Monday, February 19, 2007 @ 8:31p, Albert Chin wrote:On Fri, Feb 16, 2007 at 06:37:58PM -0800, David Byron wrote: > On Friday, February 16, 2007 @ 3:35p, David Byron wrote: > > > For kicks, I tried > > > > AC_LIB_LINKFLAGS([stdc++]) > > > > but I got this error (with extra stuff cut out) > > Sorry to bother everyone...I figured it out: You can do what you want from within gcc. Just modify gcc so that when it links a program, it automatically adds the runtime path to the libstdc++.so library: http://gcc.gnu.org/ml/gcc/2006-06/msg00820.htmlThanks for the pointer. At this point it's more work to rebuild gcc but it's good to know how in case I need to.
You don't need to rebuild GCC, it should simply be a matter of adding a "specs"
file. See http://gcc.gnu.org/faq.html#rpath http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Spec-Files.html BTW, if someone has successfully addressed this issue, I'm also try to work around this problem with a specs file, but it doesn't work at this time, see: http://gcc.gnu.org/ml/gcc-help/2007-02/msg00234.html Cheers, -- SIGOURE Benoit aka Tsuna _____ /EPITA\ Promo 2008, LRDE
[Prev in Thread] | Current Thread | [Next in Thread] |