How to stop DMD from linking against phobos

Martin Nowak dawg at dawgfoto.de
Thu Dec 8 15:01:50 PST 2011


On Thu, 08 Dec 2011 18:50:36 +0100, Benjamin Thaut  
<code at benjamin-thaut.de> wrote:

> Is there a way to stop dmd from linking against phobos?
> (Most preferred would be some command line parameters to dmd)
>
> Kind Regards
> Benjamin Thaut

We should fix defaultlib and debuglib to accept empty values.
Can you make a bug report for it.

Currently you can call 'dmd ... -v' to see the linker (gcc) call, then
you could repeat this step without -lphobos2.


More information about the Digitalmars-d mailing list