"Anatoly Yakovenko" <[EMAIL PROTECTED]> wrote:

> Has there been any progress in getting ghc set up for porting to non
> x86/unix/windows platforms?  Can it generate ropi code?  It would also
> be nice to be able to compile to C that rvct/arm tools can compile in
> thumb mode.

AFAIK, you can bootstrap ghc onto lots of non-PC-centric platforms,
using the unregisterized porting guide.  However, it is not a trivial
exercise, and it does not address the question of setting ghc up as a
cross-compiler, should your device be too small to host ghc at all.

Other Haskell compilers might be a better starting point.  For instance,
nhc98 uses portable C as a target language, and has a configure-time
option to set it up as a cross-compiler.  See
    http://www.cs.york.ac.uk/fp/nhc98/install.html
(cross-compiler info towards the bottom of the page).  The example
given is for ARM/linux.

Regards,
    Malcolm
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to