Thread overview | |||||
---|---|---|---|---|---|
|
September 05, 2012 DMD flags | ||||
---|---|---|---|---|
| ||||
Attachments:
| 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 Re: DMD flags | ||||
---|---|---|---|---|
| ||||
Posted in reply to Russel Winder | 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 Re: DMD flags | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg Attachments:
| 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 |
Copyright © 1999-2021 by the D Language Foundation