RE: libstdc++ on solaris / rpath / gnulib's havelib macros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting David Byron <dbyron@xxxxxxxxxx>:

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.html

Thanks 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



_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux