[Mono-dev] build fails on genmdesc

Andreas Färber andreas.faerber at web.de
Sat Dec 5 06:56:43 EST 2009


Hi,

Am 04.12.2009 um 21:10 schrieb Zoltan Varga:

>    The mono build runs executables compiled during the build, like  
> genmdesc, so I don't
> think it will run in scratchbox.

When cross-compiling, Mono is supposed to use a Perl version of  
genmdesc instead.

if CROSS_COMPILING
GENMDESC_PRG=perl $(srcdir)/genmdesc.pl $(arch_define) $(srcdir)
else !CROSS_COMPILING
GENMDESC_PRG=./genmdesc
endif !CROSS_COMPILING

Maybe CROSS_COMPILING did not get defined/propagated correctly?

Andreas

>
> On Fri, Dec 4, 2009 at 8:49 PM, Gerard Braad <me at gbraad.nl> wrote:
> Currently trying to get Mono packaged for Maemo 5 (and the N900).
> Unfortunately I encounter some issues.
>
> I try to build Mono 2.4.2.3 in scratchbox using the host-gcc, but the
> build fails on ./genmdesc ./cpu-x86.md cpu-x86.h x86_desc
> with a make: *** [cpu-x86.h] Floating point exception (core dumped)



More information about the Mono-devel-list mailing list