DLLs and friends

David Nadlinger see at klickverbot.at
Sat Nov 24 12:45:51 PST 2012


On Saturday, 24 November 2012 at 20:08:10 UTC, Ellery Newcomer 
wrote:
> with dmd on linux, apparently __declspec(dllexport) <-> 
> [nothing]. Noticed this when trying to link to the python c 
> api. But it could just be python isn't using dllexport.

There is no such thing as dllimport/dllexport on Linux, 
everything is "public" by default. See 
http://gcc.gnu.org/wiki/Visibility for a description of a 
mechanism for hiding symbols on Linux/GCC.

David


More information about the Digitalmars-d mailing list