Building a minimal/essential GHC
Adam Wick
awick at galois.com
Thu Jul 2 23:07:27 UTC 2015
Hi Jakub -
You will find that many of these questions are things we’ve had to address in the HaLVM (http://github.com/GaloisInc/HaLVM <http://github.com/GaloisInc/HaLVM>). You may want to look in that code base for information on what we considered minimal and how we got around some of the build system and other issues a minimal build requires.
- Adam
On Jul 2, 2015, at 1:20 PM, Jakub Zalewski <jakzale at gmail.com> wrote:
>
> Dear all,
> I am working on porting GHC to [native client](https://developer.chrome.com/native-client <https://developer.chrome.com/native-client>), which has some degree of POSIX-compliance.
>
> I was thinking about building just the minimal/most essential parts of GHC that is enough to compile simple Haskell programs.
>
> I wanted to ask 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!"`?
>
> 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?
>
> Best wishes,
> Jakub
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20150702/1a746720/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2199 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20150702/1a746720/attachment.bin>
More information about the ghc-devs
mailing list