How to stop DMD from linking against phobos

David Nadlinger see at klickverbot.at
Thu Dec 8 10:11:06 PST 2011


On 12/8/11 6:50 PM, Benjamin Thaut 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

See the -defaultlib and -debuglib switches. druntime is hardcoded 
anyway, so you could e.g. use:

dmd -defaultlib="druntime -debuglib="druntime"

Hope this helps,
David


More information about the Digitalmars-d mailing list