
18 May
2013
18 May
'13
9:01 p.m.
On Wed, May 15, 2013 at 12:45:01AM -0400, Carter Schonwald wrote:
https://github.com/ghc/ghc/blob/master/compiler/main/DriverPipeline.hs#L803w... mentions the -fvia-c backend in 2-3 places
I've updated that, ta.
2) when the ghc driver is used to manage building c code for subsequent ffi usage, it doesn't seem possible to use a c compiler to do *.c -> *.o/dylib, instead it is only possible to do *.c-> *.s -> *.o/dylib.
I'm curious about reasons c,s,o choice that are still in play.
Well, it means that GHC can be used to compile hand-written asm, and it also means that you can do "ghc -S". Also, there's been no reason to change it. -- Ian Lynagh, Haskell Consultant Well-Typed LLP, http://www.well-typed.com/