Add short library names support to Windows linker
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
Showing
- compiler/ghci/Linker.hs 6 additions, 2 deletionscompiler/ghci/Linker.hs
- testsuite/tests/ghci/linking/Makefile 8 additions, 0 deletionstestsuite/tests/ghci/linking/Makefile
- testsuite/tests/ghci/linking/T1407.script 0 additions, 4 deletionstestsuite/tests/ghci/linking/T1407.script
- testsuite/tests/ghci/linking/all.T 1 addition, 6 deletionstestsuite/tests/ghci/linking/all.T
- testsuite/tests/ghci/linking/dyn/A.c 17 additions, 0 deletionstestsuite/tests/ghci/linking/dyn/A.c
- testsuite/tests/ghci/linking/dyn/Makefile 23 additions, 0 deletionstestsuite/tests/ghci/linking/dyn/Makefile
- testsuite/tests/ghci/linking/dyn/T1407.script 4 additions, 0 deletionstestsuite/tests/ghci/linking/dyn/T1407.script
- testsuite/tests/ghci/linking/dyn/all.T 12 additions, 0 deletionstestsuite/tests/ghci/linking/dyn/all.T
- testsuite/tests/ghci/scripts/all.T 1 addition, 1 deletiontestsuite/tests/ghci/scripts/all.T
Loading
Please register or sign in to comment