[Issue 987] New: Add DMD compiler switch to prevent automatic linking to phobos.lib/libphobos.a

Sean Kelly sean at f4.ca
Mon Feb 19 21:46:50 PST 2007


For what it's worth, I do think it makes sense for the compiler to 
implicitly link a library expected to contain its runtime code.  In 
fact, Tango was even designed to support this configuration.  It isn't 
the default simply because it adds complexity but only benefits a small 
portion of the community.  The need for users to switch between 
configurations is a valid concern however, so I can't say I disagree 
with this request.  If nothing else, it would occasionally be useful to 
link a debug vs. a release version of the compiler runtime without 
replacing the library file itself.


More information about the Digitalmars-d-bugs mailing list