:: Re: [Libbitcoin] dllexport of libbi…
トップ ページ
このメッセージを削除
このメッセージに返信
著者: Amir Taaki
日付:  
To: Eric Voskuil
CC: libbitcoin
題目: Re: [Libbitcoin] dllexport of libbitcoin
https://github.com/spesmilo/libbitcoin/blob/master/include/bitcoin/define.hpp

I renamed FOX_API / FOX_LOCAL to BC_API / BC_HIDDEN

let me know what you prefer.
also BC_PUBLIC / BC_PRIVATE might be an option but could conflict with
normal public/private in C++.

> 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.
>
>
>
>
>