#9643: Force ECL to disable assembly code on Solaris 10 x86 as it does on
OpenSolaris
------------------------+---------------------------------------------------
Reporter: drkirkby | Owner: drkirkby
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.5.3
Component: solaris | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------+---------------------------------------------------
Changes (by drkirkby):
* cc: mariah, mpatel (added)
Comment:
Just to make it clear, on any Solaris 10 or !OpenSolaris machine, with an
Intel/AMD processor, the output of {{{uname -m}}} is the same:
* On my Sun Ultra 27 running !OpenSolaris
{{{
drkir...@hawk:~$ uname -m
i86pc
drkir...@hawk:~$ uname -sm
SunOS i86pc
drkir...@hawk:~$ uname -rsm
SunOS 5.11 i86pc
drkir...@hawk:~$
}}}
* On fulvia on skynet:
{{{
64 drkir...@fulvia:[~] $ uname -m
i86pc
64 drkir...@fulvia:[~] $ uname -sm
SunOS i86pc
64 drkir...@fulvia:[~] $ uname -rsm
SunOS 5.10 i86pc
}}}
One can differentiate Solaris 10 and Solaris 11 machines by using the
release version of the operating system (Solaris 10 shows 5.10, and
!OpenSolaris shows 5.11).
Since I now wish to disable the assembly code on both Solaris 10 and
Solaris 11, the option which shows the release ({{{-r}}}) needs removing.
I'm choosing not to use the {{{-p}}} option to {{{uname}}}, as it's not
portable.
http://www.opengroup.org/onlinepubs/009695399/utilities/uname.html
The only portable options to uname are {{{-a, -m, -n, -r}}} and {{{-v}}}.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9643#comment:4>
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.