[NumPy-Tickets] [NumPy] #1694: Adding support to an ARM processor
NumPy Trac
numpy-tickets@scipy....
Wed Mar 9 09:40:55 CST 2011
#1694: Adding support to an ARM processor
-----------------------------+----------------------------------------------
Reporter: Snark | Owner: cdavid
Type: defect | Status: new
Priority: normal | Milestone: 1.6.0
Component: numpy.distutils | Version: 1.5.0
Keywords: |
-----------------------------+----------------------------------------------
Comment(by Snark):
My endian.h doesn't look like it is in an insane place :
{{{
$ locate endian.h
/home/jpuydt/sage-4.6.1/local/include/boost/detail/endian.hpp
/home/jpuydt/sage-4.6.1/local/lib/python2.6/site-
packages/numpy/core/include/numpy/npy_endian.h
/usr/include/endian.h
/usr/include/bits/endian.h
/usr/include/linux/byteorder/big_endian.h
/usr/include/linux/byteorder/little_endian.h
/usr/lib/pymodules/python2.6/numpy/core/include/numpy/npy_endian.h
/usr/share/pyshared/numpy/core/include/numpy/npy_endian.h
}}}
(notice : this is a debian/unstable box, so there shouldn't be anything
wild)
{{{__arm__}}}, {{{__ARMEL__}}} and {{{__BIG_ENDIAN}}} are defined ; I
checked using :
{{{
#include <endian.h>
#include <stdio.h>
int
main (int argc,
char* argv[])
{
#if defined(__arm__)
printf ("__arm__ is defined\n");
#endif
#if defined(__ARMEL__)
printf ("__ARMEL__ is defined\n");
#endif
#if defined(__ARMEB)
printf ("__ARMEB is defined\n");
#endif
#if defined(__BIG_ENDIAN)
printf ("__BIG_ENDIAN is defined\n");
#endif
return 0;
}
}}}
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1694#comment:5>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list