[Mono-dev] build fails on genmdesc
Thad Thompson
TThompson at Nucsafe.com
Fri Dec 4 16:54:58 EST 2009
Gerard,
Not sure that this will help, but I've built Mono for a couple of
different ARM processors using Scratchbox2 without too much pain. Below
I've attached the build steps from one of the more recent ones. You may
not need the CFLAGS="-DARM_FPU_FPA" directive.
-Thad
------------------------------------------------------------------------
--------------------------------------
# Building Mono for PXA-255 with Scratchbox 2
OUT_DIR=/your/output/directory
export OUT_DIR
### Mono (Host)
./configure --prefix=${OUT_DIR}
make
make install
#################################################
# Change to scratchbox 2 shell
#################################################
# Core Mono Dependencies
### Glib
cd glib-2.20.5
./configure --prefix=${OUT_DIR} && make && make install
### Pkgconfig
cd pkg-config-0.23
./configure --prefix=${OUT_DIR} && make && make install
#################################################
# Mono (Embedded)
LD_RUN_PATH=${OUT_DIR}/lib:LD_RUN_PATH \
PKG_CONFIG=${OUT_DIR}/bin/pkg-config \
PKG_CONFIG_PATH=${OUT_DIR}/lib/pkgconfig \
./configure \
--prefix=${OUT_DIR} \
--with-crosspkgdir=${OUT_DIR}/lib/pkgconfig \
--disable-mcs-build \
--with-moonlight=no \
--with-mcs-docs=no \
CFLAGS="-DARM_FPU_FPA"
make
make install
#
# On one of the platforms it gave a complaint about ULLONG_MAX which I
believe had
# a fairly easy workaround.
#
# Note: as of version 2.4.2 building docs from the embedded build
failed. I removed the
# docs directory from the subdirectory list in the makefile
More information about the Mono-devel-list
mailing list