|
| 1 | +This is the F# compiler, core library and core tools (open source edition). It uses the Apache 2.0 license. |
| 2 | + |
| 3 | +The`master` branch is for the latest version of F# (currently F# 3.0). |
| 4 | + |
| 5 | +To bootstrap the compiler, binaries built from an earlier version of this project are used. |
| 6 | + |
| 7 | + |
| 8 | +##Requirements |
| 9 | + |
| 10 | +Requires mono 2.9 or higher. |
| 11 | + |
| 12 | +On OSX, requires automake 2.69. To install from[homebrew](http://mxcl.github.com/homebrew): |
| 13 | +``` |
| 14 | +brew install automake |
| 15 | +``` |
| 16 | + |
| 17 | + |
| 18 | +##Building |
| 19 | + |
| 20 | +To build, run: |
| 21 | +``` |
| 22 | +./autogen.sh |
| 23 | +make |
| 24 | +make install |
| 25 | +``` |
| 26 | + |
| 27 | +On OSX, to replace the installation of F# that comes with Mono you may need to use a prefix: |
| 28 | +``` |
| 29 | +./autogen.sh --prefix=/Library/Frameworks/Mono.framework/Versions/2.10.9/ |
| 30 | +``` |
| 31 | + |
| 32 | +To build the FSharp.Core.dll for[Mono for Android](http://xamarin.com/monoforandroid), use: |
| 33 | +``` |
| 34 | +make do-2-1 |
| 35 | +``` |
| 36 | + |
| 37 | + |
| 38 | +##Notes |
| 39 | + |
| 40 | +Uses bootstrapping libraries, tools and F# compiler. The`lib/bootstrap/X.0` directories contain mono-built libraries, compiler and tools that can be used to bootstrap a build. You can also supply your own via the`--with-bootstrap` option. |
| 41 | + |
| 42 | +F# original powerpack sources are available from[fsharppowerpack.codeplex.com](http://fsharppowerpack.codeplex.com). |