[GHC] #11788: Enable Thin Library support for the Runtime linker on Windows.

GHC ghc-devs at haskell.org
Mon Jun 13 11:31:38 UTC 2016


#11788: Enable Thin Library support for the Runtime linker on Windows.
-------------------------------------+-------------------------------------
        Reporter:  Phyx-             |                Owner:  Phyx-
            Type:  feature request   |               Status:  patch
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Runtime System    |              Version:  7.10.3
  (Linker)                           |
      Resolution:                    |             Keywords:
Operating System:  Windows           |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:  T11788
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D2323
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Tamar Christina <tamar@…>):

 In [changeset:"5cee88d766723929f789ffcd2ef24d8b5ef62a16/ghc"
 5cee88d7/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="5cee88d766723929f789ffcd2ef24d8b5ef62a16"
 Add thin library support to Windows too

 Summary:
 Code already existed in the RTS to add thin library support for non-
 Windows
 operating systems. This adds it to Windows as well.

 ar thin libraries have the exact same format as normal archives except
 they
 have a different magic string and they don't copy the object files into
 the
 archive.

 Instead each header entry points to the location of the object file on
 disk.
 This is useful when a library is only created to satisfy a compile time
 dependency
 instead of to be distributed. This saves the time required for copying.

 Test Plan: ./validate and new test T11788

 Reviewers: austin, bgamari, simonmar, erikd

 Reviewed By: bgamari, simonmar

 Subscribers: thomie, #ghc_windows_task_force

 Differential Revision: https://phabricator.haskell.org/D2323

 GHC Trac Issues: #11788
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11788#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list