I am trying to compile the code presented in here using the make shown at the end of the web page but I am getting the following error:
[1 of 1] Compiling Main ( mandelbrot.hs, mandelbrot.o )
<no location info>:
Warning: Couldn't figure out LLVM version!
Make sure you have installed LLVM
I checked the settings file of ghc and found that were like this:
("LLVM llc command", ""),
("LLVM opt command", "")
So I changed to map the commands as follows:
("LLVM llc command", "llc"),
("LLVM opt command", "opt")
But now I am getting a slightly different error:
[1 of 1] Compiling Main ( mandelbrot.hs, mandelbrot.o )
<no location info>:
Warning: Couldn't figure out LLVM version!
Make sure you have installed LLVM
Searched on the web for probable causes but the results point to old bug reports where it says this issue was fixed.
I don't have any experience with LLVM and don't know how to procede.
I am using Windows 7 64bits with The Glorious Glasgow Haskell Compilation System, version 7.8.3.
llvm-config --version. If this doesn't print out a version number then you don't have LLVM installed or set up properly. - bheklilr