[Mono-dev] Problems cross compiling Mono itself for ARM with uClibc

Cliff Brake cliff.brake at gmail.com
Wed Mar 19 08:48:20 EDT 2008


On Tue, Mar 18, 2008 at 3:52 AM,  <freaky001 at gmx.net> wrote:
> Hello,
>
>  I've tested my gcc with a sample program (a kind of "hello world"), but it works fine. It compiles the source and I get a executable file, which I can run on my ARM-Platform.
>
>  What I've done (as user:root, in the directory /usr/local/mono-1.2.6):
>  # export CC=arm-linux-gcc (it is available in my env - see previous posting)
>  # ./configure --with-glib=embedded (because I'd like to use the uClibs)
>
>  I also tried to configure and make mono 1.2.6 with the compiler for my native architecture (i386) - it works fine too.
>
>  I think the problem is located in the message: "configure: error: C compiler cannot create executables".
>
>  I don't know what to do. I really need help!

I don't have any specific suggestions, but I can tell you what works
for me.  The OpenEmbedded project includes support for cross compiling
and packaging Mono for ARM systems.  I have never tried it with ucblic
(only glibc, although OE supports both), but once you start adding
things like Mono to a rootfs, the space saving you get with uclibc
over glibc may be insignificant.

The following articles provides more information
http://bec-systems.com/web/content/view/87/9/.

Cliff


More information about the Mono-devel-list mailing list