[Yhc] Cross-compiling YHC for XScale/ARM based WinCE

Iván Pérez Domínguez iperez at babel.ls.fi.upm.es
Tue Apr 24 19:59:20 EDT 2007


I have a PDA, I'm trying to port YHC to it. It's currently using Windows
(in the PDA only), and I'm not planning to change it for the time being.

I'm using cegcc to compile yhc. Since yhc is written in haskell,
I used ghc to generate the .hc files, then used cegcc to compile
them to binary code.

I'm getting this error:

In file included from /usr/lib/ghc-6.4.2/include/Stg.h:149,
                 from State.c:3:
/usr/lib/ghc-6.4.2/include/Regs.h:213: error: invalid register name for 'R1'
...

Looks like has something to do with ghc. Should I install yhc
and use it to generate the C code instead?

Any suggestions?



More information about the Yhc mailing list