[Mono-dev] Cross-compiling Mono for ARM

Gutemberg Ribeiro gutemberg at fgrit.com
Thu Jun 18 19:03:20 UTC 2015


Hello guys,

I'm trying to cross-compile (from Ubuntu 14.04) Mono for ARM following this tutorial http://www.mono-project.com/docs/about-mono/supported-platforms/arm/ but the links that show how configure ScratchBox are outdated and I can't find anything on the internet on how to successful setup an environment and cross-compile mono for ARM...

The idea is to build it as a static library so I can use it embedded as suggested here: http://www.mono-project.com/docs/advanced/embedding/

For the sake of information, the target ARM device runs a proprietary striped down distribution based on debian and we have no access to its terminal or any kind of access to the OS. It is a payment terminal from www.ingenico.com<http://www.ingenico.com> and it has an ARM9 processor and uses a proprietary SDK that looks like uses GNU ARM 4.3.4 toolchain with an IDE based on Eclipse as you can see in the following picture:

[cid:image001.jpg at 01D0A9E0.44E12A80]

The only way we have to use mono on it is by adding it as a static lib and import the header in order to embedded it, create a thin C layer that will only bootstrap the .net app (all their API calls will be PInvoked after add Mono to it).

Anyone has has a good documentation on:


1.      How to setup a cross-compile environment on Ubuntu

2.      Compile Mono to ARM as an static library

Any help would be very appreciated.

Thank you very much!

Best regards,


[https://fgritmedia.blob.core.windows.net/img/fgrlogo.png]

Gutemberg Ribeiro
CTO
E-mail: gutemberg at fgrit.com<mailto:gutemberg at fgrit.com>
Mobile: +55 (11) 981 999 688


*This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you should not disseminate, distribute or copy this email. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. Email transmission cannot be guaranteed to be secure or error-free, as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender, therefore, does not accept liability for any errors or omissions in the contents of this message which arise as a result of email transmission. If verification is required, please request a hard-copy version.

*This message is confidential. It may also be privileged or otherwise protected by work-product immunity or other legal rules. If you have received it by mistake, please let us know by email reply and delete it from your system;you may not copy this message or disclose its contents to anyone. Please send us by fax any message containing deadlines, as incoming emails are not screened for response deadlines. The integrity and security of this message cannot be guaranteed on the Internet.

*This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the system manager. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the organization. Finally, the recipient should check this email and any attachments for the presence of viruses. The organization accepts no liability for any damage caused by any virus transmitted by this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20150618/0483375c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 39248 bytes
Desc: image001.jpg
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20150618/0483375c/attachment-0001.jpg>


More information about the Mono-devel-list mailing list