
24 Apr
2007
24 Apr
'07
7:59 p.m.
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?