#10303: clean up sage-check-64 and use of SAGE64
-----------------------------+----------------------------------------------
Reporter: jhpalmieri | Owner: GeorgSWeber
Type: defect | Status: needs_review
Priority: minor | Milestone: sage-4.6.1
Component: build | Keywords: 64
Author: John Palmieri | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------------+----------------------------------------------
Comment(by drkirkby):
Replying to [comment:10 leif]:
> Another, safer way to detect if 64-bit builds are supported is to use
`getconf`, e.g.
> {{{
> #!sh
> if [ `getconf _POSIX_V6_LP64_OFF64` -eq 1 ]; then
> # 64-bit builds supported
> echo "Max. unsigned long: `getconf -v POSIX_V6_LP64_OFF64
ULONG_MAX`"
> # should give 2^64-1
> fi
> }}}
That's not true. Read the section on "Exit Status" on the OpenGroup web
site.
Dave
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10303#comment:12>
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.