如何让Mac OS上的Xamarin与F#64位一起使用?

时间:2017-04-30 02:24:34

标签: macos xamarin f# mono 64-bit

我在MacOS Sierra 10.12.4上运行Xamarin 6.3 看起来当从Xamarin网站下载的.dmg按原样安装Xamarin时,只安装了单声道32位版本。

我一直在尝试遵循these指示。

到目前为止,mono64已在我的机器上成功安装,在终端窗口上,我可以以64位执行FSI FSI executed in a terminal

然而,在此处切换我的设置后,Xamarin F# settings in Xamarin

(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") "$@"

我仍然在Xamarin FSI Xamarin is still 32bits

执行32位

下一个未解决的问题是如何在Xamarin中以64位进行编译

0 个答案:

没有答案