mono problem
Cliff Brake
cliff.brake at gmail.com
Mon Dec 1 15:37:50 UTC 2008
On Mon, Dec 1, 2008 at 4:37 AM, Marco Cane <mca at apss.it> wrote:
> hi,
> I'm trying to add mono support to my OE based distro, because I want to try
> an alternative to Java (I need portable applications).
> My system is a x86 platform (Geode based) and mono compiles without problems
> (at least, version 1.2.6 belonging to .stable branch), but when I start a
> simple "Hello world" program (built on a Linux machine using the same mono
> version) CPU blocks to 95% of usage end system loops forever, until I kill
> the mono process.
> My OE task include the export of packages mono, mono-runtime, mono-jit,
> mono-gac, libmono-corlib1.0-cil
>
> What I'm missing? Thanks in advance?
>
> using System;
>
> class MainApp {
> public static void Main() {
> Console.WriteLine("Hello World!");
> }
> }
I'm not sure what might be wrong here. I've used mono built with OE
on ARM systems, but not x86. I'm planning to add Mono 2.0 to OE in
the next week or so, so you might want to try that. Alternatively,
you can 1.9.1 version in OE. Set:
PREFERRED_VERSION_mono-native = "1.9.1"
PREFERRED_VERSION_mono-mcs-intermediate = "1.9.1"
PREFERRED_VERSION_mono = "1.9.1"
There is a small build problem with mono-native. If you run into it,
open a dev shell, type make, and then continue the build.
Cliff
--
=======================
Cliff Brake
http://bec-systems.com
More information about the Openembedded-users
mailing list