[Issue 7044] Missing a way to control the order of arguments passed to the linker makes impossible to link some programs

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu May 21 04:15:08 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=7044

--- Comment #41 from Walter Bright <bugzilla at digitalmars.com> ---
(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.

--


More information about the Digitalmars-d-bugs mailing list