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

freaky001 at gmx.net freaky001 at gmx.net
Wed Mar 19 10:57:09 EDT 2008


Hello,

now I (hopefully) have fixed one problem located in the configure - script in line 3525:

eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  # 20080319: Thomas
  #(eval "$ac_compiler -V >&5") 2>&5
  (eval "$ac_compiler -v >&5") 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }

I've lower cased the "v" in the compiler argument. Now, one step aheaed, I got the following message (see attachment: config.log, line: 111 and following).

I checked the paths of libc.so.0:

# pwd
/usr/local/gcc-4.1.2-uClibc-0.9.29-xscale/lib

# ls -al | grep libuClibc-0.9.29.so 
lrwxrwxrwx  1 thomas thomas      19 2008-02-25 10:00 libc.so.0 -> libuClibc-0.9.29.so
-rw-r--r--  1 thomas thomas  314560 2007-09-04 14:03 libuClibc-0.9.29.so


As you can see libc.so.0 exists on my system. 

My actual configure script is also attached.

Bye,
Thomas



-------- Original-Nachricht --------
> Datum: Wed, 19 Mar 2008 08:48:20 -0400
> Von: "Cliff Brake" <cliff.brake at gmail.com>
> An: freaky001 at gmx.net
> CC: 
> Betreff: Re: [Mono-dev] Problems cross compiling Mono itself for ARM with uClibc

> 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

-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 11356 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080319/19679d39/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure
Type: application/octet-stream
Size: 1248455 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080319/19679d39/attachment-0001.obj 


More information about the Mono-devel-list mailing list