On 10/14/11 03:25 PM, Ben Gamari wrote:
On Fri, 14 Oct 2011 07:09:12 +0200, Karel Gardas<[email protected]>
wrote:
Hi Ben,
what's wrong is your build.mk file. I'm using:
GhcLibWays = v
SplitObjs = NO
HADDOCK_DOCS = NO
BUILD_DOCBOOK_HTML = NO
BUILD_DOCBOOK_PS = NO
BUILD_DOCBOOK_PDF = NO
here and it's working well. Last GHC/LLVM/HEADs testsuite results are:
That is to say you pass no explicit options to GHC during any of the
phase builds? I would have thought phase 1 at least would need -fvia-C
since our phase 0 compiler (6.12) has no native codegen.
You are right. Our phase 0 compiler is unregisterised 6.12.x and since
this is unregisterised it uses -fvia-C by default and you don't need to
supply it on the command-line. ghc stage1 will then be unregisterised
binary producing registerised (since you are building registerised
build!) binaries by using LLVM (again default option for registerised
build w/o NCG) and ghc stage2 will be registerised binary producing
registersied binaries. That's at least my understing of this so far...
Cheers,
Karel
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc