on master help sign in
Adapt README to reflect the current state of code generators.
commitd99ce6e81c3b8451d86a9431bf68278e505eb7e9 authorMarkus Pfeiffer <markus.pfeiffer@morphism.de> dateWed 24 Sep 2014, 14:54 (12 years ago) parentc629b60
1 file changed+17−5
README+17−5
README+17−5
@@ -9,12 +9,24 @@ typecheck the libraries.
99To run the tests, type 'make test' which will execute the test suite, and
1010'make relib', which will typecheck and recompile the standard library.
1111
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
16+the flag -f FFI.
1317
14−To build with LLVM and libffi by default, create custom.mk or add the following line to it:
15−CABALFLAGS += -f LLVM -f FFI
18+To build with libffi by default, create custom.mk or add the following line to it:
19+CABALFLAGS += -f FFI
1620The file custom.mk-alldeps is a suitable example.
1721
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 .
25+
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
28+distribution.
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.
1932
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 .