https://issues.dlang.org/show_bug.cgi?id=7044
--- Comment #41 from Walter Bright <[email protected]> --- (In reply to Leandro Lucarella from comment #40) > Will -confsection=debug be automatically added when -debug is specified? No. You'll have to add -confsection=debug to have a [debug] section parsed. We can always add such a feature later, but it would be very hard to subtract it if it turns out to not be right. > If yes (and there will be no more -llib flags automatically added at a certain > place hardcoded in dmd), then I think this solves the problem at hand. I don't see any reason to add more. > For cross-compiling it might be useful to also automatically enable other > predefined sections, similar to -version, like linux, x86_64, etc., which is > what I think Marting was suggesting. But that would be an extra feature. I'd rather do without such, preferring to keep things simple and easy to explain. --
