On Fri, Aug 13, 2010 at 1:02 AM, Walter Bright <newshound2@digitalmars.com> wrote:

dmd does drive the linker. For example:


Oops, sorry.  I was thrown off the trail by the -L-l syntax for including a library.  Gnu is my comfort zone and I went there without thinking.

$ dmd -w -wi -c main.d
$ dmd main.o -lphobos2
Error: unrecognized switch '-lphobos2'
$ dmd main.o -L-lphobos2
(success)