Thread overview
DMD flags
Sep 05, 2012
Russel Winder
Sep 05, 2012
Jacob Carlborg
Sep 05, 2012
Russel Winder
September 05, 2012
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.

-- 
Russel. ============================================================================= Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder@ekiga.net 41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel@winder.org.uk London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder


September 05, 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
September 05, 2012
On Wed, 2012-09-05 at 14:04 +0200, Jacob Carlborg wrote: […]
> 
> GDC/GCC just forwards that flag to the linker, so:
> 
> dmd f.d -L-lncurses

Hummm… I had thought of that but rejected it due to the word "flag" being drawn more towards GCC -L than -l. Anyway, used and working.

Thanks.

-- 
Russel. ============================================================================= Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder@ekiga.net 41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel@winder.org.uk London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder