[jhc] Newbie question...

James Crayne jim.crayne at gmail.com
Mon Jun 9 05:24:51 UTC 2014


I appologize if this is the wrong forum for this question, but I
couldn't find anyone to help on IRC and I don't know what mailing list
this should go to otherwise.

I installed ajhc from cabal, following the instructions in the manual,
and everything compiled seemingly without a hitch, but when I tried to
use the compiler to compile a simple helloworld, it complained about
libraries. What is the quikest/simplest remedy? Also, It would seem to
me that the manual needs an update? As is, it implies pretty strongly
that this should just work.

$ cat helloworld.hs
main = putStrLn "hello world."
$ ajhc helloworld.hs
ajhc helloworld.hs
ajhc 0.8.0.10 (66a602abc10dec74e2c0bb9289819a015bf21e4f)
Finding Dependencies...
Using Ho Cache: '/home/jim//.ajhc/cache'
Libraries not found:
    haskell-extras
    haskell2010
    haskell98

Technically, I intend to compile to C, but I get the same error message with -C.


More information about the jhc mailing list