> Hi there,
>    I decided to take the plunge and attempt to compile this beast. I
> had to make a few changes which I am not sure will work, but this one
> stumped me:
> 
> ghc -cpp -fglasgow-exts -Rghc-timing -I. -IcodeGen 
> -InativeGen -Iparser 
> -iutils:basicTypes:types:hsSyn:prelude:rename:typecheck:deSuga
r:coreSyn:specialise:simplCore:stranal:stgSyn:simplStg:codeGen:absCSyn:m>
ain:reader:profiling:parser:nativeGen -recomp   -H10m  -c 
> nativeGen/MachCode.lhs -o nativeGen/MachCode.o -osuf o
>  
> nativeGen/MachCode.lhs:345: Value not in scope: `cconv'

You don't say which version of GHC you're trying to compile.  If it's 3.02,
I'm surprised.  If it's 4.01, I'm less surprised :-)  (we haven't tested
4.01 on Alphas).

Try adding the line

        GhcWithNativeCodeGen = NO

to your mk/build.mk file.

Cheers,
        Simon

-- 
Simon Marlow 
Microsoft Research Ltd., Cambridge, U.K.

Reply via email to