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 Arfrever, barry, koobs, martin.panter, serhiy.storchaka, vstinner
Date 2016-06-10.05:22:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Yes it is okay. The code is compiling a dummy file without main(), just to see what libraries GCC tries to link with it. It is only interested in extracting the line matching **, which in your case should be


So you should find that ctypes.util._findLib_gcc("c") still returns this path, even though the compile command technically fails.
Date User Action Args
2016-06-10 05:22:39martin.pantersetrecipients: + martin.panter, barry, vstinner, Arfrever, serhiy.storchaka, koobs
2016-06-10 05:22:39martin.pantersetmessageid: <>
2016-06-10 05:22:39martin.panterlinkissue22636 messages
2016-06-10 05:22:39martin.pantercreate