@@ -9,12 +9,24 @@ typecheck the libraries.
9To run the tests, type 'make test' which will execute the test suite, and
9To run the tests, type 'make test' which will execute the test suite, and
10'make relib', which will typecheck and recompile the standard library.
10'make relib', which will typecheck and recompile the standard library.
12−Idris has optional buildtime dependencies on the C libraries llvm-3.3 and libffi. If you would like to use the features that these enable, be sure these are compiled for the same architecture as your Haskell compiler (e.g. 64 bit libraries for 64 bit ghc). By default, Idris builds without them. To build with them, pass the flags -f LLVM and -f FFI, respectively.
12+Idris has an optional buildtime dependency on the C library libffi. If you
13+would like to use the features that it enables, be sure it is are compiled
14+for the same architecture as your Haskell compiler (e.g. 64 bit libraries
15+for 64 bit ghc). By default, Idris builds without it. To build with it, pass
14−To build with LLVM and libffi by default, create custom.mk or add the following line to it:
18+To build with libffi by default, create custom.mk or add the following line to it:
15−CABALFLAGS += -f LLVM -f FFI
19+CABALFLAGS += -f FFI
16The file custom.mk-alldeps is a suitable example.
20The file custom.mk-alldeps is a suitable example.
18−Idris has a runtime dependency on libgmp, and on Boehm GC (libgc) when using the LLVM codegen. These are needed for linking into compiled programs, so be sure these are compiled for Idris's default target architecture (usually 64 bit on x86_64 systems).
22+The Idris wiki contains instructions for building on various platforms and for
23+getting involved with development. It is located at
24+https://github.com/idris-lang/Idris-dev/wiki .
26+Idris has support for external code generators. A C code generator
27+to compile executables, and a JavaScript code generator are supplied with the
29+At the point of this writing, there is also a Java code generator and an
30+external repository with an llvm based code generator at
31+https://github.com/idris-hackers/idris-llvm.
20−The Idris wiki contains instructions for building on various platforms and for getting involved with development. It is located at https://github.com/idris-lang/Idris-dev/wiki .