#1405: Make ghc (stage1) be compilable by non-GHC
---------------------------+------------------------------------------------
Reporter: Isaac Dupree | Owner:
Type: task | Status: new
Priority: normal | Milestone: _|_
Component: Compiler | Version: 6.6.1
Severity: normal | Keywords:
Difficulty: Unknown | Os: Unknown
Testcase: | Architecture: Unknown
---------------------------+------------------------------------------------
This depends a bit on the existence of a good-enough non-GHC compiler.
Possibility to do recursively dependent modules (I think) presently rules
out everything except JHC, which is not entirely working yet. Also
pattern guards might need to be implemented in that compiler. Maybe for
testing, a ghc that doesn't define __GLASGOW_HASKELL__ (and doesn't use
ghc-specific flags ??) could be used too.
See http://thread.gmane.org/gmane.comp.lang.haskell.cvs.ghc/20962 ... GHC
also uses things like IORefs, (unsafeCoerce? only in stage2 I think) that
everyone provides, but would still be good to document.
I'm working on this now, we'll see how far I get --Isaac
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1405>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
-------------- next part --------------
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs at haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs