[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
Wed May 29 12:34:29 PDT 2013


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



--- Comment #24 from Martin Nowak <code at dawg.eu> 2013-05-29 12:34:27 PDT ---
(In reply to comment #23)
> Then when compiling with -debug I get 2 different libraries linked. If I leave
> [Environment] empty, then I can't link a program without using -debug.

Mmh, the simplest solutions I can think of would be these.

[Environment-debug]
DFLAGS=-L-lphobos-dbg

or

[Environment]
LIB=phobos2

[Environment-debug]
LIB=phobos2-dbg

[Environment]
DFLAGS+=-L-l%LIB%


(In reply to comment #22)
> os-versions-debug/release-compiler.

Actually os and compiler is already handled by versions, so we'd just need to
match versions and debug/release.

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