[Issue 7044] New: [PATCH] Add -sL swith to pass linker flags at the end of the linker command

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Dec 1 07:53:31 PST 2011


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

           Summary: [PATCH] Add -sL swith to pass linker flags at the end
                    of the linker command
           Product: D
           Version: D1 & D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: llucax at gmail.com


--- Comment #0 from Leandro Lucarella <llucax at gmail.com> 2011-12-01 07:52:28 PST ---
There are some cases where linker flags order do matter (for example for
linking libraries). In those cases DMD provide no mechanism for altering
the order. This patches tries to minimize this problem by adding an
option (-sL) to add flags at the end of the linker command line. This
is specially useful to include libraries after the standard library
passed with -debuglib or -defaultlib.

Patch available as a pull request:
https://github.com/D-Programming-Language/dmd/pull/497

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