Fwd: GHC for Solaris
maeder at tzi.de
Mon Jul 10 05:07:48 EDT 2006
Greetings from Canada,
I installed Christian Maeder's binary package for the Glasgow Haskell
Compiler (ghc-6.4.1-sparc-sun-solaris2.tar.gz) which I downloaded from
When I compiled a simple program, I got an error.
ghc -o hello hello.hs
In file included from /usr/local/lib/ghc-6.4.1/include/RtsAPI.h:16,
/usr/local/lib/ghc-6.4.1/include/HsFFI.h:32:20: stdint.h: No such file or
A bunch of config files in /usr/local/lib/ghc-6.4.1/include defined
HAVE_STDINT_H which does not work on Solaris. I replaced the offending
definition with the following.
/* #undef HAVE_STDINT_H */
Recompiled without error and the program runs. All seems well.
Claude Marinier, Information Technology
Defence Research & Development Canada (Ottawa)
claude.marinier at drdc-rddc.gc.ca
Telephone: (613) 998-4901
More information about the Glasgow-haskell-users