[Issue 9805] DFLAGS append behavior insufficient, DFLAGS_PRE also needed

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 24 12:53:27 PDT 2013


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


Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com


--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> 2013-03-24 12:53:26 PDT ---
I don't think there's a solution to this problem - various versions have come
up for it before, and the solutions work for one incarnation and not for
another, besides being awfully confusing.

A better way when one needs a custom link line is to eshew doing it with dmd,
and use gcc instead. (After all, all dmd does to do the link is fork gcc.)

If you compile with -v, you can see the command passed to gcc. Capture that
command, then modify it as required and put it in your makefile.

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