On 19 February 2010 16:31, Ben Lippmeier <ben.lippme...@anu.edu.au> wrote:
]> One question:
> When you set GhcWithLlvmCodeGen = YES
> should that enable -fllvm for the stage 1 compiler as well?

Yes.

> "inplace/bin/ghc-stage1" -M -include-pkg-deps -dep-makefile 
> libraries/dph/dph-par/dist-install/build/.depend-v-p-dyn.haskell.tmp 
> -dep-suffix p -dep-suffix dyn -O -H64m -fllvm -package-name dph-par-0.4.0 
> -hide-all-packages -i -ilibraries/dph/dph-par/../dph-common ....
> ghc-stage1: unrecognised flags: -fllvm
>

I'm not sure how this would happen if I understood your setup
correctly. When doing development work I generally do development work
with simply a stage1 build (e.g cd compiler; make 1), only doing a
full build every once in a while for validating and benchmarking. Are
you sure that 'GhcWithLlvmCodeGen = YES' is in the build.mk of the ghc
being built? I use a similar build.mk when building Ghc with the LLVM
back-end so should be fine.

_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to