How to stop DMD from linking against phobos

Jacob Carlborg doob at me.com
Thu Dec 8 11:59:40 PST 2011


On 2011-12-08 19:11, David Nadlinger wrote:
> 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:

druntime is statically linked with Phobos.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list