[issue36735] minimize disk size of cross-compiled python3.6

2019-04-29 Thread Michal Gregorczyk
Michal Gregorczyk added the comment: Thank you. I'm closing and will ask on python-list as suggested -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___

[issue36735] minimize disk size of cross-compiled python3.6

2019-04-27 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xdegaye ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue36735] minimize disk size of cross-compiled python3.6

2019-04-27 Thread Stefan Behnel
Stefan Behnel added the comment: Make sure you use CFLAGS that limit the amount of debug data in the binaries. "-g1" in gcc should be enough to get stack traces on crashes, while reducing the binaries quite considerably compared to the default. "-g0" will give another visible reduction but r

[issue36735] minimize disk size of cross-compiled python3.6

2019-04-27 Thread Stefan Behnel
Change by Stefan Behnel : -- nosy: -scoder ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue36735] minimize disk size of cross-compiled python3.6

2019-04-27 Thread Berker Peksag
Berker Peksag added the comment: Replying your second question: I think most Linux distributions strip the Lib/test/ directory, so it should be safe to just remove it. We don't refer to it from the standard library. The helpers documented at https://docs.python.org/3/library/test.html are on

[issue36735] minimize disk size of cross-compiled python3.6

2019-04-26 Thread Michal Gregorczyk
New submission from Michal Gregorczyk : Hi I am cross-compiling Python3.6 for Android and noticed that the final result is quite large (12mb of python3 binary + over 130mb of files under lib/python3.6). Do you have any suggestions how to reduce that size so that the result is more suitable f