[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: automake or libtool question
From: |
Gary V . Vaughan |
Subject: |
Re: automake or libtool question |
Date: |
Sat, 28 Jul 2001 00:50:11 +0100 |
On Sunday 22 July 2001 10:29 am, Paul F. Kunz wrote:
> I'm building a C++ library with gcc 3.0 on a Red Hat Linux 7.1
> system. Gcc is installed in /usr/local/test. When I build an
> executable that links to the library, one must also link against
> libstdc++.so in /usr/local/test/lib since the version in /usr/lib has
> a different ABI.
>
> How do I get the correct path to libstdc++.so built into my
> library with the users needing to set LD_LIBRARY_PATH?
You mean *without* setting LD_LIBRARY_PATH? I think the following would
work:
mylib_la_LIBADD = /usr/local/test/lib/libstc++.so
mylib_la_LDFLAGS = -R /usr/local/test/lib
Cheers,
Gary.
--
())_. Gary V. Vaughan gary@(oranda.demon.co.uk|gnu.org)
( '/ Research Scientist http://www.oranda.demon.co.uk ,_())____
/ )= GNU Hacker http://www.gnu.org/software/libtool \' `&
`(_~)_ Tech' Author http://sources.redhat.com/autobook =`---d__/
- Should automake add X_LIBS to LIBS automatically?, address@hidden, 2001/07/19
- Re: Should automake add X_LIBS to LIBS automatically?, Tom Tromey, 2001/07/19
- Re: Should automake add X_LIBS to LIBS automatically?, Richard Boulton, 2001/07/19
- Re: Should automake add X_LIBS to LIBS automatically?, Richard Boulton, 2001/07/19
- Re: Should automake add X_LIBS to LIBS automatically?, Richard Boulton, 2001/07/19
- Re: Should automake add X_LIBS to LIBS automatically?, Tom Tromey, 2001/07/20
- automake or libtool question, Paul F. Kunz, 2001/07/22
- Re: automake or libtool question, Tom Tromey, 2001/07/26
- Re: automake or libtool question,
Gary V . Vaughan <=
- Re: Should automake add X_LIBS to LIBS automatically?, Tom Tromey, 2001/07/20
Re: Should automake add X_LIBS to LIBS automatically?, Assar Westerlund, 2001/07/20