[Mono-dev] compiling (2.10.2) on a beagleboard-xm running Ubuntu

Dennis White Dennis.White at lfg-usa.com
Mon May 16 15:04:46 EDT 2011


I have been trying for some time now to compile 2.10.2 for a
beagleboard-xm running Ubuntu. 

 

for my build environment I am running scratchbox2, I used the following
instructions to setup scratchbox2:

 

http://maemo-sdk.garage.maemo.org/install-ubuntu.html

 

For building mono I am following (as much as possible) the instructions
on this page:

 

http://www.mono-project.com/Mono:ARM

 

here is my configure script:

 

./configure -disable-mcs-build ARM_FPU_NONE=1 CFLAGS=-DARM_FPU_NONE

 

To be honest I am not toally sure what the CFLAGS switch is doing and I
suspect there might be some kind of fault there. However, I have learned
if I don't specify something then I get an error during the make process
saying something about needing to define ARM_FPU_NONE, ARM_FPU_FPA or
ARM_FPU_VFP.

 

I have also tried changing the -with-tls (pthread, normal) but have not
seen it make any effects and read somewhere that this value gets
automatically detected and that there is no need to specify it.

 

So with the above configure I can then execute a make followed by a make
install..

 

On my beagleboard-xm I am copying my host image to a folder and then
copying the ARM image over the top of that. Once that is complete I copy
everything into my /usr folder. 

 

Everything works (kind of), I can run mono to get the version and
everything comes back fine...  the problem happens whenever I try to
execute a program I immediately get an exception followed by a SIGSEGV
error telling me something is wrong with one of my mono libraries. I
suspect I am either building something wrong or the way I am merging the
host and ARM code is totally wrong. 

 

If there is a different tutorial/howto out there I should be using
please point me in the right direction.

 

Thanks in advance...

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20110516/ffb159b2/attachment.html 


More information about the Mono-devel-list mailing list