<div dir="auto">The news is improving, I have a working system (on Windows, including WinHugs).</div><div dir="auto"><br></div><div dir="auto">Not all of the libraries compiled, and some are bitrotted beyond repair.</div><div dir="auto"><br></div><div dir="auto">But I think there's enough for your objective of using Hugs to bootstrap GHC.</div><div dir="auto"><br></div><div dir="auto">In particular, you'll need to get working a couple of preprocessors:</div><div dir="auto"><br></div><div dir="auto">* hsc2hs -- HSC format is a hybrid Haskell/C; pre-processed to .hs + .c + .h</div><div dir="auto">* cpphs -- "a simplified re-implementation" of C++ pre-processor, in Haskell.</div><div dir="auto"><br></div><div dir="auto">They're both used extensively in the `make` building libraries/packages.</div><div dir="auto"><br></div><div dir="auto">Both of those need a bit of polishing-up, see Franklin's repo. (He was also working on Mac, did you see his homebrew kit?)</div><div dir="auto"><br></div><div dir="auto">For the sake of posterity I'll post some notes here with the travails of getting Hugs up and running.</div><div dir="auto">Some of the code is very ancient -- pre the C 1999 standard.</div><div dir="auto"><br></div><div dir="auto">AntC</div><div dir="auto"><br></div><div dir="auto">> <span style="white-space:pre-wrap;background-color:rgb(255,255,255)">Hi Sam, I have some good news, but mostly bad news.</span></div><pre style="white-space:pre-wrap;background-color:rgb(255,255,255)"><div dir="auto">></div>><i> Please do let me know if anybody can figure out how to compile the
</i>><i> missing library!
</i><div dir="auto">
>To answer your last point first, Franklin Chen figured out how to compile
the library
-- it's a two-line fix, that gets three .dlls to compile.
See around line 220 in here: 
</div><a href="https://github.com/FranklinChen/hugs98-plus-Sep2006/blob/master/packages/base/include/HsBase.h">https://github.com/FranklinChen/hugs98-plus-Sep2006/blob/master/packages/base/include/HsBase.h</a><div dir="auto">
;
also see the git change history for that header file.

</div><br></pre>