[darcs-users] C code
jan at informatik.unibw-muenchen.de
Wed May 12 12:15:07 UTC 2004
> > Can ghc compile haskell to portable C? If yes, I think it would
> > be a very good idea to provide a tarball containing the C sources
> > of the latest darcs version on the webpage. This way people with
> > unusual architectures can install darcs without having to install
> > ghc.
AFAIK ghc can compile via C, so one could try to keep the intermediate
ghc -c -fvia-C -keep-hc-files file.lhs
I'm, however, not sure whether how the C code looks like and whether
it is portable...
You can get further info from the ghc manual:
More information about the darcs-users