[darcs-users] C code
Jan Scheffczyk
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
C files:
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:
http://www.haskell.org/ghc/docs/latest/html/users_guide/separate-compilation.html#KEEPING-INTERMEDIATES
Cheers,
Jan
More information about the darcs-users
mailing list