> Hi, when running GHC 4.00 on a solaris machine
> (SunOS lassi 5.5.1 Generic_103640-03 sun4u sparc SUNW,Ultra-1)
> 
> i get the following error:
> MachRegs.lhs:563: Non-exhaustive patterns in function baseRegOffset
> 
> (MachRegs.lhs is GHC's file, not the one im trying to compile)
> 
> the arguments i passed to GHC are -fglasgow-exts and -H10m

You need to add -fvia-C to your command line.  This is a native code
generator problem: until we've got time to fix all the bugs, the native code
generator is now turned off by default in 4.01.

Cheers,
        Simon

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

Reply via email to