<div dir="ltr">Dear all,<div><span style="font-size:13.1999998092651px;line-height:19.7999992370605px">I am working on porting GHC to [native client](</span><a href="https://developer.chrome.com/native-client" target="_blank" style="font-size:13.1999998092651px;line-height:19.7999992370605px">https://developer.chrome.com/native-client</a><span style="font-size:13.1999998092651px;line-height:19.7999992370605px">), which has some degree of POSIX-compliance.</span><br></div><div><span style="font-size:13.1999998092651px;line-height:19.7999992370605px"><br></span></div><div><span style="font-size:13.1999998092651px;line-height:19.7999992370605px">I was thinking about building just the minimal/most essential parts of GHC that is enough to compile simple Haskell programs.</span></div><div><span style="font-size:13.1999998092651px;line-height:19.7999992370605px"><br></span></div><div><span style="font-size:13.1999998092651px;line-height:19.7999992370605px">I wanted to askĀ </span><span style="font-size:13.1999998092651px;line-height:19.7999992370605px">which parts of GHC are the most essential and sufficient enough to compile a simple Haskell program, for instance to compile `main = putStrLn "Hello, world!"`?</span></div><div><br></div><div>I also wanted to ask how to force a GHC build without a particular package that comes by default, for instance how to build GHC without the `unix` package?</div><div><br></div><div>Best wishes,</div><div>Jakub</div></div>