GHC code still depends on RTS code (written in C by the way) which has to be ported to a specific platform first. Native code generator offers &#39;registered&#39; and &#39;unregistered&#39; builds. The first are aware of specific register layout of a architecture. You can find more rationale why it has been removed somewhere on GHC wiki or mailing lists.<div>

<br></div><div>I think you might be interested in JHC: <a href="http://repetae.net/computer/jhc/">http://repetae.net/computer/jhc/</a></div><div><br></div><div>By design it compiles Haskell code to efficient C code which is quite easy to read and hack further. Cross compilation is supported and easy too. The compiler is somewhat experimental but can handle quite a few programs.</div>

<div><br></div><div>Best regards,</div><div>Krzysztof Skrzętnicki<br><div><br><div class="gmail_quote">On Sun, Feb 5, 2012 at 19:48, Serge D. Mechveliani <span dir="ltr">&lt;<a href="mailto:mechvel@botik.ru">mechvel@botik.ru</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear GHC team,<br>
<br>
I cannot understand why do you remove the C stage in GHC.<br>
To my mind: let the result be 3 times slower, but preserve the C code.<br>
Because it works everyhere, and there is no real need to rewrite<br>
the same program separately for all the existing processors<br>
(which number may become, for example, 11000).<br>
I am naive, and am not a specialist.<br>
But only an invariant program ever has sense.<br>
<br>
Has the modern GHC a sensible compilation result level to be observed<br>
(documented?) (graph rewriting code, or like this) ?<br>
<br>
Regards,<br>
<br>
------<br>
Sergei<br>
<a href="mailto:mechvel@botik.ru">mechvel@botik.ru</a><br>
<br>
<br>
_______________________________________________<br>
Glasgow-haskell-users mailing list<br>
<a href="mailto:Glasgow-haskell-users@haskell.org">Glasgow-haskell-users@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/glasgow-haskell-users" target="_blank">http://www.haskell.org/mailman/listinfo/glasgow-haskell-users</a><br>
</blockquote></div><br></div></div>