Cross Compiling Python Extensions

后端 未结 2 661
星月不相逢
星月不相逢 2020-12-17 09:58

I have a problem with cross-compiling netifaces extension under Buildroot Linux distro for ARM (Python 2.7.2). According to this blog http://whatschrisdoing.com/blog/2009/10

相关标签:
2条回答
  • 2020-12-17 10:42

    Make sure you have installed the distutilscross package as noted in the article you linked. This adds the -x option and support for PYTHONXCPREFIX/LDSHARED/etc environment variables.

    0 讨论(0)
  • 2020-12-17 10:55

    I don't know whether you still care this question. It seems that you have some build target already, so it doesn't compile the c program any more. Try to clean all the files and directories below "build" folder, and build again.

    0 讨论(0)
提交回复
热议问题