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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 12 07:34:48 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=7044



--- Comment #12 from Martin Nowak <code at dawg.eu> 2013-04-12 07:34:47 PDT ---
(In reply to comment #11)
> Is need to allow changing easily between a "normal" and a "debug" build with
> -debug or -g (I don't remember which one triggers switching to debuglib instead
> of using defaultlib).

You can do by supporting configurations in the config file, e.g.
Environment32/Environment64 [1] or dub packages [2][3].
One could also use different config files and introduce a -conf argument.

[1]: https://github.com/D-Programming-Language/dmd/pull/1220
[2]: http://registry.vibed.org/package-format#build-settings
[3]: http://registry.vibed.org/package-format#configurations

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list