I have a .NET 4.0 application that makes heavy use of tail recursion (programmed in F#). It runs fine on the .NET VM, but it runs out of stack on Mono-3.0.1.
I've tried running with mono --optimize=tailc
but that doesn't seem to change anything.
Is there some way to force mono to eliminate tail calls? Is there some way to increase the maximum stack size in mono?