[Numpy-discussion] CROSS-COMPILING NUMPY

Yepez, Esteban esyepez@sandia....
Mon Feb 16 09:23:19 CST 2009

Are there any patches from previous versions? Can provide any other suggestions?

On 2/15/09 12:30 AM, "David Cournapeau" <david@ar.media.kyoto-u.ac.jp> wrote:

Yepez, Esteban wrote:
> Hello,
> I have having a hard time finding more information to help me, so I
> thought I'd ping you both.
> I need to x-compile numpy for a new processor. I have a toolchain, and
> have x-compiled python2.5.4, boost1.37,swig1.38. I just can't figure
> out how to x-compile numpy. Now I had to play many tricks to get
> python configured, so I may not have everything I need:
> For python,
> - I modified the Modules/Setup to build math and other modules that my
> target doesn't have
> - I modified configure so that it wouldn't crash when trying to run
> test programs
> - I modified the makefile so it would not try to build sharedmods
> Since Numpy uses python: python setup.py install, I figured that I
> could just use the host python to perform the build:
> >CC=my-gcc-compiler /usr/local/bin/python setup.py install

To put it simply, the build process in numpy does not support
cross-compilation at all, so you are mostly on your own, unfortunately,

Numpy-discussion mailing list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20090216/c3cfc3ef/attachment.html 

More information about the Numpy-discussion mailing list