问题
I have a Mono binary obtained from a build with Visual Studio. The option --gc=sgen used to enable sgen garbage collector is not available:
Error: --gc=<NAME> option not supported on this platform.
How to enable this option ? Is there any define ?
回答1:
The sgen GC will be available on windows starting from the next mono releases, 2.11/2.12 (though not necessarily in the VS build).
来源:https://stackoverflow.com/questions/8214594/compiling-mono-from-visual-studio-with-sgen-support