I have build a simple "hello world" to test mono on my at91sam9260 platform. Unfortunately hello.exe segfault.

hello.exe is built on windows using mono c# mcs 2.2.0.0 (see bellow). Do I miss something or hello.exe is correctly built and should run on arm platform ?

"Support Thumb user binaries" enabled in kernel

Angstrom running on AT91-sam9260 platform
-----------------------------------------
r...@at91-l9260:~# mono hello.exe
Segmentation fault
r...@at91-l9260:~# mono --version
Mono JIT compiler version 1.2.6 (tarball)
Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com
        TLS:           normal
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       normal
        Notifications: epoll
        Architecture:  arm
        Disabled:      none

dmesg
-----
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache

mono.mcs
--------
// Hello World in C Sharp
class  Hello {
 static void Main() {
  System.Console.WriteLine("Hello World");
 }
}

mono.exe ("build" on windows)
-----------------------------
C:\tmp>mcs --version
Mono C# compiler version 2.2.0.0

C:\tmp>hello
Hello World

Regards,

_______________________________________________
Angstrom-distro-users mailing list
Angstrom-distro-users@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users

Reply via email to