hi Cliff, thanks for your answer; I tried to build mono 1.9.1,
completely outside OE, downloading source from mono-project. Since I'm
using a x86 platform, I thought I could transfer files under "install"
directory on my device to try mono, but also in this case, system loops
forever.
I will try with mono 2, but I think there are some problems on some
libraries. Here is my base task (based on task-boot.bb), I'm using
distro angstrom-2007.1.

RDEPENDS_alopex-console-task = "\
    kernel \
    base-files \
    base-passwd \
    udev-utils \
    libstdc++ \
    busybox \
    initscripts \
    [EMAIL PROTECTED]("MACHINE_FEATURES", "keyboard", "keymaps", "", d)}
\
    modutils-initscripts \
    netbase \
    update-alternatives \
    ${DISTRO_DEV_MANAGER} \
    ${DISTRO_INIT_MANAGER} \
    ${DISTRO_LOGIN_MANAGER} \
    ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS} \
    mono \
        mono-runtime \
        mono-jit \
        mono-gac \
        libmono-corlib1.0-cil \ 
    "

Thanks again

p.s. when you say "open a dev shell" you are meaning I should complete
the build outside OE environment, launching make from
OE/tmp/work.../mono-x.y.z, right?


On Mon, Dec 1, 2008 at 4:37 AM, Marco Cane <[EMAIL PROTECTED]> 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

_______________________________________________
Openembedded-users mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users


_______________________________________________
Openembedded-users mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users

Reply via email to