To get rid of the soft float vs. hard float ABI problem I tried to install an up-to-date version of mono on my Raspberry Pi with
git clone https://github.com/mono/mono.git cd mono git submodule init git submodule update ./autogen.sh --prefix=/usr/local make make install
The make command fails. The errors are as follows:
make: gmcs: Command not found make: *** [build/deps/basic-profile-check.exe] Error 127 *** The compiler 'gmcs' doesn't appear to be usable. *** You need Mono version 2.4 or better installed to build MCS *** Check mono README for information on how to bootstrap a Mono installation. make: *** [do-profile-check] Error 1 make: *** [profile-do--basic--all] Error 2 make: *** [profiles-do--all] Error 2 make: *** [all-local] Error 2 make: Leaving directory `/home/pi/mono/runtime' make: *** [all-recursive] Error 1 make: Leaving directory `/home/pi/mono'
To fix this I tried to install mono with "sudo apt-get install mono-runtime" and then start the make again. But the error remains.
Is it possible to get Mono 3.x working on ARM (the Raspberry Pi)?
Update: After installing Mono 2.x with sudo apt-get install mono-complete (before I only installed the runtime) the installation now succeeds. But it still does not work: AFAIK after doing the "make" a "make install" is also required, right? But this fails without any reasons:
*[install-dist_pkdataDATA] Error 1
*[install-am] Error 2
*[install-recursive] Error 1
Feels like I'm getting warmer, but I'm still not there ;-)