On Wed, Sep 21, 2016 at 5:43 PM, Alex Rønne Petersen <a...@alexrp.com> wrote:
> Hi,
>
> Mono should just compile out of the box for ARMv5.
>
> What problem are you seeing?
>
> Regards,
> Alex
>

Hi,

This is what I did:
1.
CC=arm-none-linux-gnueabi-gcc CFLAGS="-march=armv5te -mtune=arm926ej-s
-mfloat-abi=soft"  ./autogen.sh --host=arm-none-linux-gnueabi
--disable-mcs-build

(not sure if it correct to give  -mfloat-abi=soft" )

2.
And then in "make" it fails as following:

....
 CC     libmonoruntimesgen_static_la-sgen-tarjan-bridge.lo
  CC     libmonoruntimesgen_static_la-sgen-toggleref.lo
  CC     libmonoruntimesgen_static_la-sgen-stw.lo
  CC     libmonoruntimesgen_static_la-sgen-mono.lo
  CCLD   libmonoruntimesgen-static.la
  CC     pedump.o
  CCLD   pedump
./.libs/libmonoruntime.a(libmonoruntime_la-assembly.o): In function
`InterlockedIncrement':
../../mono/utils/atomic.h:234: undefined reference to `__sync_add_and_fetch_4'
./.libs/libmonoruntime.a(libmonoruntime_la-assembly.o): In function
`InterlockedDecrement':
../../mono/utils/atomic.h:239: undefined reference to `__sync_sub_and_fetch_4'
./.libs/libmonoruntime.a(libmonoruntime_la-cominterop.o): In function
`InterlockedDecrement':
../../mono/utils/atomic.h:239: undefined reference to `__sync_sub_and_fetch_4'

Regards,
Ran

> On Wed, Sep 21, 2016 at 4:18 PM, Ran Shalit <ransha...@gmail.com> wrote:
>> Hello,
>>
>> We encounter difficulties building mono for armv5.
>> I would like to ask if is it possible, and if yes - which version and
>> configure flags should we use ?
>>
>> Thank you!
>> Ran
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list@lists.dot.net
>> http://lists.dot.net/mailman/listinfo/mono-devel-list
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.dot.net
http://lists.dot.net/mailman/listinfo/mono-devel-list

Reply via email to