Skip to content

Build GHC on Windows using Microsoft toolchain

Create a Windows "native" port of GHC, i.e. one that uses the Microsoft toolchain instead of GCC and the GNU binutils. The main tasks are:

  • Convert the pretty printer in the i386 NCG to generate MS/Intel syntax

    instead of AT&T syntax. We can then generate assembly code that MASM can

    grok.

  • Make the RTS compile with Microsoft's CL compiler. (this has been done in

    the past, so shouldn't be too much work).

  • Drop any dependencies on mingw32 functionality in the libraries.

  • Make appropriate modifications to the driver, build system etc. We'd still

    need Cygwin/MSYS for build tools (dropping dependency on GNU make is another task

    entirely...)

Trac metadata
Trac field Value
Version 6.7
Type Task
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
Edited by gintas
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information