What you want is called "cross-compilation", and in general is a non-trivial thing to do. You have to set up a toolchain on your x86 boxes able to compile for ARM, use it to compile SAGE and finally move the binary over to the Raspberry.
I mucked around with it on Gentoo a long time ago (I think it was for a Nokia n800 I got off ebay, anyone remembers those things?) and it seemed not too difficult to do: http://www.gentoo.org/proj/en/base/embedded/handbook/?part=1&chap=2 For Debian, the first google hit is: http://jeremy-nicola.info/portfolio-item/cross-compilation-distributed-compilation-for-the-raspberry-pi/ which points to an official Raspberry PI cross-compile toolchain. HTH, Francesco. On 10 September 2014 14:35, <[email protected]> wrote: > Hi, > > thanks for the suggestion with the hard drive. > i might try that one. > how can i do the swap to disk thing? > never have done that. > > btw i have more linux boxes but those are all 32 bit (x86) machines. so i > don't know how to do a compilation for armv6l on those. > > > maybe someone could tell me how this can be done? > > greetings and thanks, > simon > > > > On Wed, 10 Sep 2014 05:19:07 -0700 (PDT) > mmarco <[email protected]> wrote: > >> It is theoretically possible, but you would need swap memory (the RAM of >> the device is not enough), which would be very slow (i don'trecommend doing >> it using the SD card as swap device, too much read/write for it), so go for >> a USB hard drive. And even then, it will be quite slow (the USB port is >> much slower than a standard IDE/ATA connection for hard drives). >> >> Don't be surprised if the time needed to finish the compilation is >> measured in days, or even weeks. >> >> A better idea would be to run the compilation in another device. >> >> El miércoles, 10 de septiembre de 2014 13:40:14 UTC+2, [email protected] >> escribió: >> >>> >>> >>> Hi folks, >>> I thought i might ask this question on this list as well. I once thought >>> of compiling Sage 5.13 for the raspberry pi but as far as i can tell it was >>> not so easy at that time a few months ago. >>> Now we have Sage 6.3 so i wonder if this got any easier? >>> I am running Raspbian (Debian 7 Wheezy) on a older Raspberry Pi Model B >>> Rev 2 with 256 MB of RAM. The system is up to date. >>> >>> There is a 5.13 package for armv6 but this one is pretty outdated now so >>> i thought of compiling a package myself. >>> Do i have to consider anything? >>> Or can i use the instructions for the normal debian/ubuntu boxes? >>> >>> Maybe someone has some step by step instructions if something is >>> different? >>> greetings and thanks very much, Simon >>> >> >> -- >> 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 [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/sage-devel. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > Simon Eigeldinger > [email protected] > > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sage-devel. > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
