[Top][All Lists]

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

Re: How use --whole-archive ld arg with libtool ?

From: Alain BARBET
Subject: Re: How use --whole-archive ld arg with libtool ?
Date: Thu, 16 May 2002 21:50:49 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc2) Gecko/20020510

Static libraries don't understand -export-dynamic, it doesn't
make any sense.  If you configure with --disable-shared
then you won't have any modules to dlopen, because
they will be static, and you would already have the resolved
symbols in your executable.

I understand that but ... I want static libraries, but shared modules.

Static libraries for gain time where I can
Shared modules because in this project they are like features.
For doing this, I must have two build project, one with --enable-shared for modules, other with --disable-shared for static libraries. But I have this unresolved symbols not found in main binaries when I dlopen shared modules with binaries links with static lib ...

Thanks for your help,

reply via email to

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