[Top][All Lists]

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

Relocatable link with automake and libtool

From: Igor Fernández de Bustos
Subject: Relocatable link with automake and libtool
Date: Mon, 13 Nov 2000 12:47:19 +0100

Hi there!
I do not know if this is the correct place to drop this question, but as
it is the best i have found, here it goes.

I have a large program built from some libraries (static) of my own.
>From that libraries I would like to get a plugin as a shared library.
The problem is that I can manage to do it "by hand" by making a
relocatable link (ld -r mylibrary.o -Llocationof -lbaselibrary and after
taht libtool --mode=link....)
So I have a shared library with no unresolved symbols to my static
Lybraries, wich is what i want.
I tried automake to do this for me without success, I have tried
-nu-undefined switch, wich seems not to be for that purpose, and a lot
of diferent ways to do it, but the only thing I have managed to do is to
build shared versions of my libraries so the symbols are resolved at
run-time, wich is a bad solution for me (I use to arrange my work in
very small libraries).

Please help!

Igor Fernández de Bustos (address@hidden)
Profesor Asociado
ETS de Ingenieros Industriales y de I.T de Bilbao

reply via email to

[Prev in Thread] Current Thread [Next in Thread]