DMD flags

Jacob Carlborg doob at me.com
Wed Sep 5 05:04:37 PDT 2012


On 2012-09-05 13:59, Russel Winder wrote:
> In C/C++, with f.c or f.cpp I can do:
>
> 	cc f.o -lncurses
>
> something similar works for gdc, but what to write for dmd? Assuming f.d
> obviously :-)
>
> Thanks.
>

GDC/GCC just forwards that flag to the linker, so:

dmd f.d -L-lncurses

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list