<br><br><div class="gmail_quote">On Wed, Apr 7, 2010 at 6:06 PM, Nathaniel Neitzke <span dir="ltr">&lt;<a href="mailto:nightski@gmail.com">nightski@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I saw the Google Summer of Code project for using LLVM to cross compile for other architectures such as ARM.  Professionally I write embedded Linux code that targets ARM processors such as the TI DaVinci DM355 and am very intrigued by the potential use of Haskell for future projects.<div>

<br></div><div>If I was interested in attempting to add support for LLVM ARM cross-compilation, are there any thoughts on what parts would have to be modified to do so?  Or has work already been conducted in this area?</div>
</blockquote><div><br></div><div>I&#39;m not a GHC hacker, but my understanding goes like this:</div><div>  1) the version of ghc in darcs has support for using LLVM to generate code on at least x86.</div><div>  2) GHC has never really work as a cross compiler, but there is an active push to change this.</div>
<div><br></div><div>The GHC wiki is here:</div><div>  <a href="http://hackage.haskell.org/trac/ghc/">http://hackage.haskell.org/trac/ghc/</a></div><div><br></div><div>If you want to get started on understanding the source and hacking on it, there are pages for that:</div>
<div>  <a href="http://hackage.haskell.org/trac/ghc/wiki/GettingStarted">http://hackage.haskell.org/trac/ghc/wiki/GettingStarted</a></div><div>  <a href="http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions">http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions</a></div>
<div><br></div><div>Probably the best thing you can do is get on the GHC mailing list:</div><div>  <a href="http://www.haskell.org/ghc/docs/latest/html/users_guide/mailing-lists-GHC.html">http://www.haskell.org/ghc/docs/latest/html/users_guide/mailing-lists-GHC.html</a></div>
<div><br></div><div>Good luck!</div><div>Jason</div></div>