Various Windows / Cross Compile to Windows fixes
authorMoritz Angermann <moritz.angermann@gmail.com>
Fri, 2 Mar 2018 19:19:58 +0000 (14:19 -0500)
committerBen Gamari <ben@smart-cactus.org>
Fri, 2 Mar 2018 20:41:04 +0000 (15:41 -0500)
commit4a0d0d8062a204b867fc510c50e69a056ce7636f
tree0168120d4d35fa80a4512934ffc331ce0ca502ff
parentaef2b429072e3d3bbdbcb9e4082a0d86ba329d9e
Various Windows / Cross Compile to Windows fixes

- Adds quick-cross-ncg flavour.
- Fix windows wchar with `_s` for mingw
- Lookup windres, dllwrap and objdump
- Fix type.

Reviewers: bgamari, hvr, Phyx, erikd, simonmar

Reviewed By: bgamari

Subscribers: rwbarton, thomie, erikd, carter

Differential Revision: https://phabricator.haskell.org/D4430
configure.ac
libraries/base/cbits/Win32Utils.c
rts/PathUtils.c
rts/win32/OSMem.c