[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
Sun Oct 21 22:23:26 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7044
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugzilla at digitalmars.com
--- Comment #4 from Walter Bright <bugzilla at digitalmars.com> 2012-10-21 22:23:24 PDT ---
The problem is the order of -defaultlib and -L is fixed as:
1. -L flags
2. libraries on the command line
3. libraries specified by pragma(lib)
4. standard libraries (also -debuglib, -defaultlib libraries)
I suggest the straightforward approach of the order of (1), (2), and (4) be
determined by the order in which they appear on the command line.
That leaves (3), and I suggest that be inserted immediately before (4).
This may break existing build systems, though.
--
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