#5281: Update tachyon to Version 0.98.9 (latest upstream)
----------------------------------------------+-----------------------------
Reporter: mabshoff | Owner: mhampton
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-4.6
Component: packages | Keywords:
Author: David Kirkby, Marshall Hampton | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
----------------------------------------------+-----------------------------
Comment(by drkirkby):
The method used to determine the target in {{{spkg-install}}} seems crazy
to me. First it tries using the the target {{{linux}}}, which
specifically forces a 32-bit build, with the {{{-m32}}} flag.
To me at least, on {{{sage.math}}}, I can compile with {{{-m32}}} and
create a 32-bit binary:
{{{
kir...@sage:~$ cat test.c
#include <stdio.h>
int main() {
printf("ddd");
}
kir...@sage:~$ gcc test.c
kir...@sage:~$ file a.out
a.out: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for GNU/Linux
2.6.8, dynamically linked (uses shared libs), not stripped
kir...@sage:~$ gcc -m32 test.c
kir...@sage:~$ file a.out
a.out: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
GNU/Linux 2.6.8, dynamically linked (uses shared libs), not stripped
}}}
So I would expect this to build 32-bit in most cases on Linux.
Only if the 32-bit build fails does it try a 64-bit build!!
Note for AIX and HP-UX, I did not bother with any such flags, but just let
it read CFLAGS, where one could add {{{-m64}}} or whatever flag one needs.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5281#comment:35>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.