making a really simple dll.

maarten van damme maartenvd1994 at gmail.com
Thu Aug 18 19:29:23 PDT 2011


"as for the linux side"
I though dmd was unable to generate shared libs on linux?

It would be cool to have a mixin "shared" that when compiled on windows
generates a windows dll and if compiler on linux generates a linux shared
lib :)

2011/8/18 Trass3r <un at known.com>

> Am 18.08.2011, 21:42 Uhr, schrieb Kai Meyer <kai at unixlords.com>:
>
>  2) check if there are any exported functions (via .def or export()), if
>> not, export them all
>>
>
> That's insane. Larger projects have tons of functions and may only need to
> export a few.
> The language includes the export keyword to export functions and people
> should use it.
> dmd just needs to generate a .def file to make Optstink create a dll.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20110819/cafa5cb4/attachment.html>


More information about the Digitalmars-d-learn mailing list