On Sun, Jul 14, 2013 at 12:30 PM, Emmanuel Charpentier
<
emanuel.c...@gmail.com> wrote:
> I wonder how to create an i686 executable on an amd64 machine.
>
> Rationale : I want to use sage on an an aging netbook (on which I *did*
> compile sage 5.9 successfully but quite slowly) refuses to compile sage 5.10
> : I get bizarre crashes : the machines does an orderly shutdown ; the system
Have you tried building using the system-wide ATLAS libraries, e.g.,
export SAGE_ATLAS_LIB = /usr/lib/
and something like this (you'll have to adapt it):
apt-get install libatlas3gf-base liblapack-dev
cd /usr/lib/
ln -s libatlas.so.3gf libatlas.so
ln -s libcblas.so.3gf libcblas.so
ln -s libf77blas.so.3gf libf77blas.so
> log hints at an "excessive temperature" event which, given the season, does
> not utterly surprises me... Last time I compiled sage, we were in spring
> (with a rotten weather !), so it is possible that a bit of hot weather
> pushes the (already impressive) thermal envelope of a sage compilation a bit
> too far for this machine.
>
> This kind of crash does not happen in this machine's ordinary duty cycle
> (emacs, calling \LaTeX, a bit of R and sometimes a modest bit of Sage, plus
> the everyday chores of a notebook), so I'd like to keep this machine in
> active duty. But I'd rather not wait for the winter, nor emigrate to Terre
> Adélie...
>
> How can I use a machine with more muscle (and a cooler head :-) to
> cross-compile an i686 binary tarball ? As far as I can remember, all the
> "other" machines I can use for this are amd64 machines.
>
> Google is uncharacteristically mute on the subject. I found only mere
> allusions to the problem of cross-compiling Sage for arm machines. Perusing
> the (recent) titles of sage-devel was not more helpful... The current README
> *does* explain how to create a "fat binary" tarball for covering (a lot of)
> variations of the *same* architecture, but does not contain one word on
> cross compilation.
>
> Any hint ? Even "You're barking to the moon..." would be useful.
>
> Emmanuel Charpentier
>
> PS :of course, I could also use this problem as an excuse to get myself a
> better notebook :-). But that won't fly with my financer (i. e. myself...).
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
sage-support...@googlegroups.com.
> To post to this group, send email to
sage-s...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/sage-support.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>
--
William Stein
Professor of Mathematics
University of Washington
http://wstein.org