Hi Cafe, I was looking for a way to generate 32 bits haskell binary on a 64 bits linux. I've looked at the user guide and tried to use the -fvia-C with -optc -m32 but the generated C file doesn't compile with lots of error messages like the following:
$ ghc -o hello hello.hs -fvia-C -optc "-m32" In file included from /usr/lib/ghc-6.10.4/include/Stg.h:206, from /tmp/ghc15772_0/ghc15772_0.hc:3:0: /usr/lib/ghc-6.10.4/include/Regs.h:235:0: error: invalid register name for ‘R4’ I can't find any others parameters that seems to do anythings about the code generation or around the C compiler. so, does anyone knows if it's possible ? or have some documentation/link about this kind of things ? Thanks, -- Vincent _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe