I hope this is the right place to ask. My system is:
# uname -a
Linux xianghua 2.4.21 BrandZ fake linux i686 i686 i386 GNU/Linux
# gcc --version
gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-59)
# as --version
GNU assembler 2.14.90.0.4 20030523
# cat /etc/redhat-release
CentOS release 3.9 (Final)
And sage fails to compile with:
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I..
-DOPERATION_hgcd -m32 -O2 -fomit-frame-pointer -mcpu=pentiumpro
-march=nocona -c hgcd.c -fPIC -DPIC -o .libs/hgcd.o
/tmp/ccwTmB2V.s: Assembler messages:
/tmp/ccwTmB2V.s:56: Error: suffix or operands invalid for `movd'
/tmp/ccwTmB2V.s:74: Error: suffix or operands invalid for `movd'
The assembler chokes on
movd %xmm1, %xmm0
movd %xmm1, %xmm0
respectively. The source file is in sage-4.1.1/spkg/build/mpir-1.2.p4/src/mpn.
Is there anything I might be able to do, to fix this?
Yes, I know I'm using an outdated Centos, it's an lx zone on my
solaris, and it's installed from an image from opensolaris.org.
Upgrading to a newer linux distro is possible, but 2.6 emulation is
not complete.
Johann
Then please change the following in README.txt:
SUPPORTED COMPILERS:
* Sage builds with GCC >= 3.x and GCC >= 4.1.x.
* Sage will not build with GCC 2.9.x.
* WARNING: Don't build with GCC 4.0.0, which is very buggy.
* Sage has never been built without using GCC compiler.
Though I doupt my issue (below) has anything to do with the version of
GCC, but the assember, as.
Johann
I suggested a little change.
William
On Sun, Sep 6, 2009 at 4:21 AM, William Stein<wst...@gmail.com> wrote:
> I suggested a little change.
I've submitted, what I believe to be minimal changes to that text.
Might be clearer, if it works to compile with GCC, 4.0.x, but I'm not
in a position to try that now (or at all), and it shouldn't be said if
it's not "known" to work.
Johann
Very nice. I like what you put.
William