Le 06/09/2012 16:10, Bob Friesenhahn a écrit :
> On Tue, 4 Sep 2012, Brice Goglin wrote:
>
>> FYI, I finally found the problem.
>> ltdl symbols are marked as __declspec(dllexport) while my symbols are
>> not. It looks like it causes all my symbols to be hidden after link.
>> I am going to look at marking my symbols as dllexport too (we only
>> optionally used gcc's visibility attributes so far).
>> Does anybody know if marking as dllexport could cause other problems?
>
> For GraphicsMagick's loadable modules I pass these extra options to
> libtool:
>
> -no-undefined -export-symbols-regex ".*" -shared -module -avoid-version
>
> Notice the wildcard specification for exported symbols.

Interesting.
Would this export all my symbols, including the internal ones that are
not public?
The good thing about the dllexport attribute is that you only place it
in front of symbols that must be public.

Brice


_______________________________________________
https://lists.gnu.org/mailman/listinfo/libtool

Reply via email to