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.
Hi, you probably need to include '-L.' on the command line to have it
look for libraries in the current directory if you are running it
directly out of the build dir.
John
On Sun, Jun 8, 2014 at 10:24 PM, James Crayne
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. _______________________________________________ jhc mailing list jhc@haskell.org http://www.haskell.org/mailman/listinfo/jhc
-- John Meacham - http://notanumber.net/
participants (2)
-
James Crayne -
John Meacham