[GHC] #12498: Support unconventionally named import libraries

GHC ghc-devs at haskell.org
Thu Aug 18 19:11:41 UTC 2016


#12498: Support unconventionally named import libraries
-------------------------------------+-------------------------------------
           Reporter:  Phyx-          |             Owner:
               Type:  feature        |            Status:  new
  request                            |
           Priority:  normal         |         Milestone:  8.2.1
          Component:  Runtime        |           Version:  8.0.1
  System (Linker)                    |
           Keywords:                 |  Operating System:  Windows
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:  #11072
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 GHC's import library support currently does not recognize import libraries
 which are named something other than `.dll.a`. This is because we're using
 the extension to determine the mode to use.

 Instead we should look at the presence of certain patterns. e.g. .o files
 contain only `.idata` sections etc.

 This would allow us to be able to support import libraries such as `gcc_s`
 and no longer need to hardcode the GCC library full name in cabal file.

 This should add more compatibility with packages on hackage.

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


More information about the ghc-tickets mailing list