FIX #1271: create manifests, and embed them in executables on Windows
authorSimon Marlow <simonmar@microsoft.com>
Fri, 10 Aug 2007 08:47:53 +0000 (08:47 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Fri, 10 Aug 2007 08:47:53 +0000 (08:47 +0000)
commiteb4352ab0675309fe6cb1ad38cf070340a338e50
treed82433e0cd2c504866aa654698aa8a0b1a92de9f
parent2ebe8addfaae2bc65e6b87ad369928b02053014f
FIX #1271: create manifests, and embed them in executables on Windows

We have 4 new flags:

  -fno-gen-manifest
     suppresses creation of foo.exe.manifest

  -fno-embed-manifest
     suppresses embedding of the manifest in the executable

  -pgmwindres
     specify a program to use instead of windres

  -optwindres
     extra options to pass to windres

"windres" is now copied from mingw and included in a binary
distribution.
compiler/main/DriverPipeline.hs
compiler/main/DynFlags.hs
compiler/main/SysTools.lhs
distrib/prep-bin-dist-mingw