[issue28542] document cross compilation

2019-12-10 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28542] document cross compilation

2016-11-05 Thread Xavier de Gaye
Xavier de Gaye added the comment: Yes, I was not aware of DESTDIR. The 2.7 README contains also useful information on the build process, for example about some use cases of the '*shared*' entries in the Setup files (for when setup.py cannot detect/build an extension module) or about the

[issue28542] document cross compilation

2016-11-04 Thread Martin Panter
Martin Panter added the comment: Actually I think it is good to document DESTDIR (you weren’t seem aware of it before?). I was just pointing out that it is useful to more than just Android. Perhaps Guido shouldn’t have trimmed it from the 2.7 readme (original text:

[issue28542] document cross compilation

2016-11-02 Thread Xavier de Gaye
Xavier de Gaye added the comment: About 2.7, this is a list of the issues I am aware of, that may have to be fixed also in 2.7 (and 3.5 for some of them): issues #26884 #27434 #28444 and #22724. Issue #28589 was entered today and is a duplicate of the previous one. > FWIW, DESTDIR, --prefix,

[issue28542] document cross compilation

2016-10-31 Thread Martin Panter
Martin Panter added the comment: Regarding 2.7, I guess it depends on your definition of “support”. People have been cross-compiling Python 2.7 longer than I have been working on Python. In the past I have tried to apply cross compilation fixes to 2.7. But if you are only confident about 3.6,

[issue28542] document cross compilation

2016-10-31 Thread Xavier de Gaye
Xavier de Gaye added the comment: New patch, less verbose and taking into account the previous posts. -- Added file: http://bugs.python.org/file45294/readme_4.patch ___ Python tracker

[issue28542] document cross compilation

2016-10-30 Thread Xavier de Gaye
Xavier de Gaye added the comment: > The ACTION-IF-CROSS-COMPILING parameter of the AC_RUN_IFELSE that checks for > getaddrinfo is $ac_cv_buggy_getaddrinfo="no -- configured with > --(en|dis)able-ipv6". Hum, I should have written: The ACTION-IF-CROSS-COMPILING parameter of the AC_RUN_IFELSE

[issue28542] document cross compilation

2016-10-30 Thread Xavier de Gaye
Xavier de Gaye added the comment: One must also add '--(en|dis)able-ipv6' to configure, otherwise configure exits with: Fatal: You must get working getaddrinfo() function. or you can specify "--disable-ipv6". The ACTION-IF-CROSS-COMPILING parameter of the AC_RUN_IFELSE that checks

[issue28542] document cross compilation

2016-10-29 Thread Xavier de Gaye
Xavier de Gaye added the comment: I have changed my Android build system to use DESTDIR, it is simpler than using 'mount --bind'. Thanks for the suggestion Martin. Here is a new patch adding some text for the Android cross compilation. -- Added file:

[issue28542] document cross compilation

2016-10-29 Thread Xavier de Gaye
Xavier de Gaye added the comment: New patch. -- Added file: http://bugs.python.org/file45263/readme_2.patch ___ Python tracker ___

[issue28542] document cross compilation

2016-10-29 Thread Xavier de Gaye
Xavier de Gaye added the comment: > $(cd /path/to/source && pwd)/configure > Why do you use $(pwd) here? 'configure' fails with the following error message when used with '--prefix=../install': configure: error: expected an absolute directory name for --prefix: ../install So for

[issue28542] document cross compilation

2016-10-28 Thread Martin Panter
Martin Panter added the comment: Thanks, this looks like a decent start. I’m not that familiar with cross-compiling Python, but here are a couple questions: $(cd /path/to/source && pwd)/configure Why do you use $(pwd) here? I have mainly seen relative paths used (my own experiments, and

[issue28542] document cross compilation

2016-10-27 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- components: +Cross-Build, Documentation nosy: +Alex.Willmer ___ Python tracker ___

[issue28542] document cross compilation

2016-10-27 Thread Xavier de Gaye
New submission from Xavier de Gaye: Patch adding a section to the README. -- assignee: xdegaye files: readme.patch keywords: patch messages: 279532 nosy: xdegaye priority: normal severity: normal stage: patch review status: open title: document cross compilation type: enhancement