[Haskell-cafe] can GHC build an executable from a C source file?
ndmitchell at gmail.com
Tue Mar 17 13:38:58 EDT 2009
Yhc used to do this (when you could still build it). Turns out that on
Windows using gcc that gets installed with ghc isn't particularly fun,
while ghc makes a very pleasant build experience. Something to do with
directory layouts, head file searching, and what is on the %PATH% by
2009/3/17 Joe Fredette <jfredett at gmail.com>:
> You know, I hear theres this brilliant program for compiling C code -- gcd?
> ccg? gcc, yah gcc... Anyone tried it?
> In all seriousness though, why do you need to compile c with ghc? I'm
> curious, it seems a bit pointless...
> Manlio Perillo wrote:
>> Anton Tayanovskyy ha scritto:
>>> Works for me without the --make, as `ghc foo.c`
>> For me, too, thanks.
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe