On Thu, Aug 21, 2008 at 03:03:04PM -0600, Gary Thomas wrote: > I'd like to add a python package to my PTXdist tree. The > key thing will be to run > python setup.py install > in the target-install step in such a way that any non-python > pieces get built correctly. For example, trying to install > Cheetah requires the use of the target GCC in order to build > a [binary] wrapper. > > I don't see any examples of how to do this. The closest thing > is myghty (sorely out of date BTW), but it merrily glosses > over the target install.
Cross compiling python is a huge mess; we have somehow managed to cross build it + myghty, but it is in no way sane and for example doesn't work on 64 bit build host + 32 bit target. Patches are welcome... rsc -- Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Handelsregister: Amtsgericht Hildesheim, HRA 2686 Hannoversche Str. 2, 31134 Hildesheim, Germany Phone: +49-5121-206917-0 | Fax: +49-5121-206917-9 -- ptxdist mailing list [email protected]
