[GHC] #1405: Make ghc (stage1) be compilable by non-GHC
GHC
trac at galois.com
Sun Jun 3 17:41:39 EDT 2007
#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 | Resolution:
Keywords: | Difficulty: Unknown
Os: Unknown | Testcase:
Architecture: Unknown |
-----------------------------+----------------------------------------------
Old description:
> 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
New description:
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 ?? possibly a wrapper script of some sort) 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
More information about the Glasgow-haskell-bugs
mailing list