Calling D from C

evilrat evilrat666 at gmail.com
Sat Nov 23 21:54:43 PST 2013


On Sunday, 24 November 2013 at 05:25:36 UTC, CJS wrote:
>
> bash calls:
> dmd -c foo.d
> gcc bar.c foo.o
>

this is wrong. there should flag for building static lib which 
should produce foo.a which then you link with C build.


More information about the Digitalmars-d-learn mailing list