:: Re: [Libbitcoin] dllexport of libbi…
Inizio della pagina
Delete this message
Reply to this message
Autore: Eric Voskuil
Data:  
To: 'Amir Taaki'
CC: libbitcoin
Oggetto: Re: [Libbitcoin] dllexport of libbitcoin
I wouldn't call it a top priority, but it would be nice to be able to support it. I've already generalized all of the projects and packaging code so that it's trivial on my end.

e

-----Original Message-----
From: Amir Taaki [mailto:genjix@riseup.net]
Sent: Sunday, April 06, 2014 10:19 PM
To: Eric Voskuil
Cc: 'Amir Taaki'; libbitcoin@???
Subject: dllexport of libbitcoin

http://gcc.gnu.org/wiki/Visibility

<evoskuil> genjix, I have built all dependencies so that they can be
linked statically or dynamically, release or debug, 64 or 32 bit. The
packages include all variants...
<evoskuil> dynamic linking is platfrm-dependant and requires conditional
code for cross platform support....
* Coincidental (~coinciden@216.86.59.150) has joined #darkwallet
<evoskuil> all of our dependencies support dynamic and static linking, at
least on Windows...
<evoskuil> it would be nice to provide that option as well. it's a little
more complicated for c++ than for c...
<evoskuil>
http://www.codeproject.com/Articles/28969/HowTo-Export-C-classes-from-a-DLL

linux doesn't need this for shared libraries since g++ just exports all
symbols by default. but this is something i looked at before and it could
be worth doing, and if it's useful for msvc then we should do it.