[Mono-dev] Mono 2.4 for ARM

Zoltan Varga vargaz at gmail.com
Tue Jun 30 19:18:52 EDT 2009


Hi,

Use:
./configure <...>  CFLAGS=-DARM_FPU_NONE

On Wed, Jul 1, 2009 at 12:39 AM, Jon Shemitz <Jon.Shemitz at access-company.com
> 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 [mailto:vargaz at gmail.com]
> *Sent:* Monday, June 29, 2009 6:36 PM
> *To:* Jon Shemitz
> *Cc:* mono-devel-list at lists.ximian.com
> *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 at access-company.com> 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 at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090701/9b9ff863/attachment-0001.html 


More information about the Mono-devel-list mailing list