Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to build the F# compiler from source

Tags:

f#

After the recent announcement that the F# compiler source was available under the apache license I decided I'd like to have a go at building the compiler from source. However, I fell at the first post as there seems to be a missing file “Microsoft.FSharp-proto.Targets”. Is this the same “Microsoft.FSharp-proto.Targets” that is available in “Microsoft F#, August 2010 Community Technology Preview”? What other steps are necessary to build the compiler. Will the F# team be providing a script that “just works” to build the compiler?

like image 951
Robert Avatar asked Nov 05 '10 08:11

Robert


Video Answer


2 Answers

I haven't run these yet (PC configuration problems?), but there's a detailed set of instructions in the source distribution at compiler/2.0/Nov2010/README.html.

These instructions are a little different to the ones @desco wrote that relate to the previous CTP.

like image 147
Tim Robinson Avatar answered Nov 04 '22 16:11

Tim Robinson


Not so long ago before this announcement I've written about building compiler from sources supplied with F# CTP (F#: Building compiler from sources.). Hope nothing was changed since that time.

like image 39
desco Avatar answered Nov 04 '22 17:11

desco