[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Cross-compiling with python-distutils & cython



Hi,

I am a newbie to cross-compiling and I have a question about distutils
& cython.  I am trying to build the new e17 debian repo for armel (i
have done most of the c packages and they run seem to run correctly).
When I try to build the python binding (they use cython and
python-pyrex and the debian/rules includes python-distutils.mk) I get
errors due to :

1. gcc flags are set to include /usr/include and not
/usr/arm-linux-gnueabi/include
2. CC environmental flag is not obeyed, so gcc-native is called in some places

I can hack around this for cross-building (and the package works), but
I was wondering if anyone knew of a proper way to cross-build with
python-distutils or cython.  I'm not really sure where the problem is,
but I would like to get a proper setup going.

Isaac


Reply to: