[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Passing options to the linker
From: |
Paulo J. Matos |
Subject: |
Re: Passing options to the linker |
Date: |
Wed, 24 May 2006 17:33:21 +0100 |
On 24/05/06, Ralf Wildenhues <address@hidden> wrote:
* Ralf Wildenhues wrote on Wed, May 24, 2006 at 05:40:43PM CEST:
> * Paulo J. Matos wrote:
>
> > This is needed due to some conclusions I referred in:
> >
http://groups.google.com/group/gnu.g++.help/browse_frm/thread/46517713685155f0/
>
> Hmm, that looks very fishy:
Never mind. Please try putting -export-dynamic in the link flags for
the program (AM_LDFLAGS or extsat_LDFLAGS, depending on your setup).
Does it work now?
No, it is still not working. If we concentrate ourselves only in the
first situations where I want the libraries to be all linked
statically I have for the core:
bin_PROGRAMS = extsat
extsat_SOURCES = esatmathcluster.cc ...
extsat_LDFLAGS=-export-dynamic
extsat_LDADD = ../lib/bf/src/libbf.la \
../lib/ot/src/libot.la \
../lib/fm/src/libfm.la \
../lib/glpkinterface/src/libglpkinterface.la \
../lib/ncquest/src/libncquest.la
For each of these I have the following (where obviously the name and
files are different but config is the same).
noinst_LTLIBRARIES = libot.la
libot_la_SOURCES = esatlia.cc esatlia.hh
libot_la_LDFLAGS = -version-info 0:0:0
libot_la_CPPFLAGS = -I$(top_srcdir)/../include
Which is not working... :-|
Any ideas?
Cheers,
Paulo Matos
Cheers,
Ralf
--
Paulo Jorge Matos - pocm at sat inesc-id pt
Web: http://sat.inesc-id.pt/~pocm
Computer and Software Engineering
INESC-ID - SAT Group