« Return to Thread: Mono 2.4 for ARM

Re: Mono 2.4 for ARM

by Koushik K. Dutta :: Rate this Message:

Reply to Author | View in Thread

Re: [Mono-dev] Mono 2.4 for ARM Use:

make -DARM_FPU_NONE


On 6/30/09 3:39 PM, "Jon Shemitz" <Jon.Shemitz@...> wrote:

Many thanks. --with-tls=pthread got me past my first hurdle.
 
Alas, now I get
 
mini-arm.h:28:2: error: #error "At least one of ARM_FPU_NONE or ARM_FPU_FPA or ARM_FPU_VFP must be defined."
 
and I can’t seem to get past that. I’ve tried
 
./configure --disable-mcs-build --with-tls=pthread ARM_FPU_NONE=1
 
and
 
make ARM_FPU_NONE=1
 
and
 
ARM_FPU_NONE=1 make
 
and
 
export ARM_FPU_NONE=1
make
 
and I keep getting the same error. What do I have to do to enable software floating point (gnueabi)?
 


From: Zoltan Varga [vargaz@...]
Sent: Monday, June 29, 2009 6:36 PM
To: Jon Shemitz
Cc: mono-devel-list@...
Subject: Re: [Mono-dev] Mono 2.4 for ARM

Hi,

  Try mono 2.4.2, or pass --with-tls=pthread to configure.

                Zoltan

On Tue, Jun 30, 2009 at 1:59 AM, Jon Shemitz <Jon.Shemitz@...> wrote:

I’m trying to build Mono 2.4 for an ARM device, following the instructions at http://mono-project.com/Mono:ARM and using an existing Scratchbox configuration.

I downloaded mono-2.4.tar.bz2 and extracted it with `tar xjf`. The host-mono part went fine, but when I tried to do the Scratchbox part, I had no “arm-mono” directory. When I tried to
> ./configure --disable-mcs-build
> make
> make install DESTDIR=`pwd`/tmptree
in the mono-2.4 directory, `make` gave me a lot of warnings, and finally a series of “undefined reference to `GC_local_malloc'” errors, culminating in

collect2: ld returned 1 exit status

make[3]: *** [pedump] Error 1

make[3]: Leaving directory `/home/jon/src/dev/alp/cross/mono-2.4/mono/metadata'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory `/home/jon/src/dev/alp/cross/mono-2.4/mono'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/jon/src/dev/alp/cross/mono-2.4'

make: *** [all] Error 2

Are there more up-to-date build instructions somewhere? Is ARM only supported for 1.x? Or am I just too stupid to get Mono running on our platform?


_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@...
http://lists.ximian.com/mailman/listinfo/mono-devel-list
 


_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@...
http://lists.ximian.com/mailman/listinfo/mono-devel-list

 « Return to Thread: Mono 2.4 for ARM