[Mono-list] Right way to detect if SGEN is available?
Rodrigo Kumpera
kumpera at gmail.com
Mon Oct 22 12:51:39 UTC 2012
On Sun, Oct 21, 2012 at 5:43 PM, Ben <funnelweb007 at gmail.com> wrote:
>
> I know SGEN is not available on all systems. We'd like to look again at
> using it by default when compiling and running the F# compiler.
>
> Is there a "right" way to probe to see if SGEN is supported? Do we just
> look for mono-sgen in the path? If SGEN is not supported, will mono-sgen
> still exist?
>
mono-sgen won't be generated if the target doesn't support it, so checking
for it is the right way to do it. Using mono --sgen will instead
fail at execution time.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20121022/7804da77/attachment.html>
More information about the Mono-list
mailing list