dmd as link driver

SK sk at metrokings.com
Fri Aug 13 08:08:56 PDT 2010


On Fri, Aug 13, 2010 at 1:02 AM, Walter Bright
<newshound2 at 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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20100813/d3e4b8d5/attachment-0001.html>


More information about the Digitalmars-d mailing list