This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients Alex.Willmer, martin.panter, thomas.perl
Date 2016-07-13.03:13:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I don’t know the details of how Python uses CFLAGS etc, but according to <> and <>, the general convention may be that CFLAGS and LDFLAGS are only for _compiler_ and _linker_ flags respectively, and CFLAGS may not be used for a link step.

Why don’t you either use CC="arm-none-eabi-gcc -mfloat-abi=hard", or LDFLAGS="-mfloat-abi=hard"? If these options work for you, perhaps what we really need is better documentation of how to build Python.

Ideally I would also like to make it so that compiling pgen is not necessary. But I think we can only use Gnu Make extensions if they are harmless in other operating systems (e.g. we have to keep the makefile compatible with BSD Make, though maybe it is okay to require Gnu Make for cross compiling).

In <> I left some rambling thoughts on ways to make the file regeneration like pgen does less automatic and more up to the user to control.
Date User Action Args
2016-07-13 03:13:57martin.pantersetrecipients: + martin.panter, Alex.Willmer, thomas.perl
2016-07-13 03:13:57martin.pantersetmessageid: <>
2016-07-13 03:13:57martin.panterlinkissue27490 messages
2016-07-13 03:13:57martin.pantercreate