[Build-common-hackers] Bug#606217: cdbs: Python cross building not supported

Peter Pearse peter.pearse at linaro.org
Tue Jan 11 17:30:24 UTC 2011

My problem arises when cross building python support packages e.g pycairo.

When the python extensions are built (using ccompiler.py) the python
environment needs to be set such that the cross toolchain, rather than
the build host toolchain, is used.

I don't want to set the global environment, since this may affect
other parts of the build, but I haven't found how I would set just the
python environment.

See e.g. my PPA
https://launchpad.net/~peter-pearse/+archive/cross-source packages
pycairo and jack

Perhaps there is some CDBS mechanism I have not found?

More information about the Build-common-hackers mailing list