我在MacOS Sierra 10.12.4上运行Xamarin 6.3 看起来当从Xamarin网站下载的.dmg按原样安装Xamarin时,只安装了单声道32位版本。
我一直在尝试遵循these指示。
到目前为止,mono64已在我的机器上成功安装,在终端窗口上,我可以以64位执行FSI
(fsharpi64是一个经过修改的脚本:
#!/bin/sh
EXEC="exec "
if test x"$1" = x--debug; then
DEBUG=--debug
shift
fi
if test x"$1" = x--gdb; then
shift
EXEC="gdb --eval-command=run --args "
fi
if test x"$1" = x--valgrind; then
shift
EXEC="valgrind $VALGRIND_OPTIONS"
fi
# Beware this line must match the regular expression " (\/.*)\/fsi\.exe" when fsi.exe is fsi.exe.
# That's because the FSharp MonoDevelop addin looks inside the text of this script to determine the installation
# location of the default FSharp install in order to find the FSharp compiler binaries (see
# fsharpbinding/MonoDevelop.FSharpBinding/Services/CompilerLocationUtils.fs). That's a pretty unfortunate
# way of finding those binaries. And really should be changed.
$EXEC /Library/Frameworks/Mono.framework/Versions/4.8.1/bin/mono64 $DEBUG $MONO_OPTIONS /Library/Frameworks/Mono.framework/Versions/4.8.1/lib/mono/fsharp/fsi.exe --exename:$(basename "$0") "$@"
)
执行32位下一个未解决的问题是如何在Xamarin中以64位进行编译