Skip to content
  • Tamar Christina's avatar
    Add short library names support to Windows linker · 07ac3f8e
    Tamar Christina authored and Ben Gamari's avatar Ben Gamari committed
    Make Linker.hs try asking gcc for lib%s.dll as well, also changed tryGcc
    to pass -L to all components by using -B instead. These two fix
    shortnames linking on windows.
    
    re-enabled tests: ghcilink003, ghcilink006 and T3333
    Added two tests: load_short_name and enabled T1407 on windows.
    
    Reviewed By: thomie, bgamari
    
    Differential Revision: https://phabricator.haskell.org/D1310
    
    GHC Trac Issues: #9878, #1407, #1883, #5289
    07ac3f8e