Hello, it seems environment for icfp2008 contest tasks will not contain F# for mono, but it has mono 2.0.
What steps i must to go to be able to start my F# program created in Win32 under Mono 2.0?

Not sure this works under Mono, but have you tried the "fsc --standalone" switch? Could you compile from Windows with --standalone and target Mono?

Jay

By on 7/11/2008 4:11 PM ()

In theroy in should just work as long as you deploy the F# runtime libraries (FSharp.Core.dll, FSharp.Compatibility.dll) with you app. However I've never tried this so there maybe some technical issue I'm unware of. You may want to install mono on win32 and compile against this using the compiler switches the --cli-version and --clr-root.

Cheers,
Rob

By on 7/11/2008 6:19 AM ()

Hi there,

Yes, installing Mono on Win32 is a good idea. Run with "mono foo.exe" where "mono" is found under Program Files\Mono etc.

Note there was a glitch that prevented F# version 1.9.4.17 programs working well on Mono. Workarounds are mentioned here:

[link:laurent.le-brun.eu]

We've just posted version 1.9.4.19 that contains the fixes to install mroe smoothly on Mono. The installation instructions are in the README.

[link:research.microsoft.com] (MSI)

[link:research.microsoft.com] (ZIP)

Thanks

Don

By on 7/11/2008 6:45 PM ()

Hello.
Robert, jhugard, Don thanks for your replies.
While using "fsc.exe --standalone" (1.9.3.14) i'm able to start generated program in LiveCD just after copy it to LiveCD's ramdisk. So, for that F# version there is no *.dll copieng needed.

Here is simple stat for my entry:
It's about 200 loc. Parser was done after about 3 hours coding and no debug at all. At one time, my friend has done simple math for track prediction by using pen and paper.
Abour hour with pen and paper was needed to create simple rover's AI and about 2 hours to code it,
2 hours to debug and about 1 hour to tune parameters. For now that program is able to go to home base for all 3 test maps (well, it also able to drive through martian or bounce to crater, but not so often).

There is interesting fact: my local timezone is timezone of contest organisers + 25 hours (such thing is possible by Russia daylight saving polycy).

By on 7/12/2008 10:00 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper