![]() |
Edit |
![]() |
|
![]() |
Recent Changes |
![]() |
Subscriptions |
![]() |
Lost and Found |
![]() |
Find References |
![]() |
Rename |
| Search |
![]() |
List all versions |
For Debian users, use your package manager to get
mono-runtime
mono-gac
mono-tools
libmono-winforms2.0-cil
libmono-system-runtime2.0-cil
You must get the last two packages! Get the packages like this
apt-get install <package names>
or use Synaptic Package Manager
Download the latest version of F# from microsoft at: http://fsharp.net
Unzip the distribution file. Then
cd FSharp-1.9.7.8 (or other)
chmod u+x install-mono.sh
chmod +x bin/fsc.exe
chmod +x bin/fsi.exe
./install-mono.sh
Now follow the instructions to get a copy of mono.snk.
Then rerun install-mono.sh
./install-mono.sh
Look carefully for failures etc.
This should start the F# Interactive command line compiler:
bin/fsi.exe
You will almost certainly want to add --readline:
bin/fsi.exe --readline
This should start the F# Interactive command line compiler:
bin/fsc.exe
This is required because FSharp.Core.dll is strong-named with a .NET release key. Mono treats these DLLs using special rules, and the DLL must be strong-named with the Mono key. This doesn't affect the logical identity of the DLL.
The install-mono.sh script tells you where to get a copy of mono.snk.
This is because the compiler is not pre-compiled using Mono's AOT. You can try running AOT on FSharp.Compiler.dll as follows
mono --aot FSharp.Compiler.dll
If this succeeds, fsc.exe and fsi.exe startup times will be faster.
This is for the same reason.
You must install these mono packages:
libmono-winforms2.0-cil
libmono-system-runtime2.0-cil
If you don't, you will get a "missing System.Runtime.Remoting.dll" exception, among others.
This is a known problem with F# 1.9.7.8. No workaround is possible short of post-filtering the output of the compiler.
Law and legal studies school | Online Natural science School | biology degree | Online chemistry degree | Online Nursing degree
![]() |
| This site supports the new NoFollow anti-spam initiative. |
Recent Topics