digitalmars.D.learn - DMD flags

• Russel Winder (15/15) Sep 05 2012 In C/C++, with f.c or f.cpp I can do:
• Jacob Carlborg (5/10) Sep 05 2012 GDC/GCC just forwards that flag to the linker, so:
• Russel Winder (15/19) Sep 05 2012 Hummm=E2=80=A6 I had thought of that but rejected it due to the word "fl...
```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.

--=20
Russel.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder ekiga.n=
et
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
```
Sep 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
```
Sep 05 2012
```On Wed, 2012-09-05 at 14:04 +0200, Jacob Carlborg wrote:
[=E2=80=A6]
=20
GDC/GCC just forwards that flag to the linker, so:
=20
dmd f.d -L-lncurses

Hummm=E2=80=A6 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.

--=20
Russel.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder ekiga.n=
et
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
```
Sep 05 2012