status of shared libs

Jacob Carlborg doob at me.com
Sun Apr 7 23:29:32 PDT 2013


On 2013-04-08 06:35, Maxim Fomin wrote:

> DMD inserts some additional info in object file if main() is present and
> sometimes it is required. One of the solutions is to use dummy D module
> (with main function defined) which forwards startup arguments to C main
> function.

druntime already defines a C main function as well, which forwards to 
the D main function.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list