<div dir="ltr">hey all, <div><br></div><div style>I think it&#39;d be valuable to add direct C -&gt; object file compilation support to the ghc compilation driver for a number of reasons, which i have  filed / documented in a trac feature request ticket.</div>

<div style><a href="http://hackage.haskell.org/trac/ghc/ticket/7922">http://hackage.haskell.org/trac/ghc/ticket/7922</a></div><div style><br></div><div style>based upon my still cursory understanding of the relevant bits of the GHC architecture, it seems like it&#39;d be relatively straight forward to add  such support and associated flags. <br>

</div><div style><br></div><div style>any feedback/thoughts on this proposal would be appreciated.</div><div style><br></div><div style><br></div><div style>note: yes there is the work around of directly scripting the compilation for the C-&gt; object files, but that does raise the bar on ease of use, and doesn&#39;t address some of the reasons for this ticket.</div>

<div style><br></div><div style>i&#39;m open to spending some time in the next month writing a patch for this if thats the best way to make it happen, though I&#39;d probably need some guidance / help at points. But either way, this is a nice little feature that would be nice for a number of folks, not just myself</div>

<div style><br></div><div style>thanks</div><div style>-Carter</div><div style><br></div><div style><br></div></div>