[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 03:53:17 PDT 2015


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

--- Comment #40 from Leandro Lucarella <leandro.lucarella at sociomantic.com> ---
(In reply to Walter Bright from comment #39)
> Calling it -confsection will place it next to the -conf switch in the
> documentation, making the connection easily discoverable.

Will -confsection=debug be automatically added when -debug is specified? 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.

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.

--


More information about the Digitalmars-d-bugs mailing list