[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
Mon Apr 15 04:48:44 PDT 2013


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



--- Comment #13 from Leandro Lucarella <leandro.lucarella at sociomantic.com> 2013-04-15 04:48:39 PDT ---
(In reply to comment #12)
> (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

I still can see how that could help changing the runtime library and all its
dependencies while linking with -debug (or -gc). Could you provide a concrete
example on how would you achieve that?

-- 
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