id,summary,reporter,owner,description,type,status,priority,resolution,keywords,cc,topic,difficulty,mentor
1593,GHC Cross Compiler,dterei,,"It would be great if GHC supported cross compilation. GHC is reasonably well designed that adding cross compilation should be a reasonable student project. Using unregisterised mode, GHC's rts is largely unix portable C and the C code generator compiles Haskell to portable C. More interesting is the LLVM backend which supports both GHC's unregisterised and registerised modes and is by default capable of cross compilation.

A large part of this project would be getting GHC to build such that it can cross compile. (e.g have the RTS built in two ways, one for the host platform and one for the target platform and have all libraries built both ways as well). Once this is done changing the actual ghc compiler to support cross compilation should be fairly straight forward.

This work would contribute to one day having GHC support compiling to ARM platforms such as iOS, Android and Windows 7 phone.",proposed-project,new,good,,,,GHC,1 person Summer,not-accepted
