Long ago i succeded at compiling sage in an arm tablet. It took around two weeks (the power button got damaged, but I don't know if was related to the heating of the device during the compiling or if it was an independent problem).
Cross compiling has the problem that some elements of Sage perform tests in compile time by running the compiled code, so that would fail. You should change manually the build process to prevent it (which is probably not a good idea, because it is a lot of work, and because that kind of automated testing might be really important, for instance ATLAS compiles with different options, tests all of them and then chooses the fastest one). Another option is to emulate a full ARM machine in a x86 one. That is doable, and theoretically would allow you to use much more RAM than what a phisical ARM device has available, but there is a huge overhead, so it will take also a lot of time. Finally, you have the option of using the arm builds that Sage provides. They are not the last version, but not too old either. The might problem you can find is that they are built for Ubuntu only, but you can overcome that by setting up an ubuntu chroot environment in your device. El miércoles, 17 de febrero de 2016, 12:12:51 (UTC+1), David Llewellyn-Jones escribió: > > Hello, > > I'm new to Sage, but interested to build it for Sailfish OS, an ARM Linux > phone built atop Mer (see for example http://www.merproject.org/ and > https://sailfishos.org/ ). I'm doing it out of intrigue, so not > necessarily expecting a practical result. > > Cross-compiling using Scatchbox2 (x86 VM building for armv7hl; see > https://wiki.merproject.org/wiki/Platform_SDK_and_SB2 ) failed when > attempting to execute genautomata. My uneducated guess is that it's > building genautomata for ARM and then trying to execute it in the x86 build > environment. > > Is it possible to cross-compile sage for ARM? Other posts on this list > don't look encouraging, but any advice would be appreciated. > > David > > P.S. My back-up plan is to build it on the phone itself, but so far this > hasn't yielded results (it's gobbling up increasingly large SD cards before > running out of space). > > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.