Steffen,
I would suggest asking questions about Libtool on a libtool mailing list.
That said - It looks to me like you're not *using* libtool to do your
linking.
Libtool's la files contain all the dependencies that a library needs.
This is a big help when using static archives because they nee
Sorry, if this is a faq, but i didn't found a clear answer searching around.
Given situation: We have a library called e.g. libfoo which uses e.g. mq_open
from librt. Than we have a program e.g. called progbar which requires libfoo
(and therefor also librt).
Our current solution looks like this
Hi,
I want to build a binary with autotools. I need to have some libraries
linked statically with the option --whole-archive, so I need a linker
command like:
g++ -O0 -g -ggdb3 -std=c++0x -o .libs/abc abc-XY.o abc-Z.o
--Wl,--whole-archive /home/.../someLib.a -Wl,--no-whole-archive
/home/...