Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
  • Sign in / Register
GHC
GHC
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
    • Insights
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 3,624
    • Issues 3,624
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 204
    • Merge Requests 204
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Security & Compliance
    • Security & Compliance
    • Dependency List
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #989

Closed
Open
Opened Nov 06, 2006 by Simon Marlow@simonmar
  • Report abuse
  • New issue
Report abuse New issue

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 Mar 09, 2019 by gintas

Related issues

  • Discussion
  • Designs
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
6
Labels
feature request I/O manager P::low task Trac import Windows
Assign labels
  • View project labels
Reference: ghc/ghc#989