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.

Title: distutils doesn't search ".dll.a" as library on cygwin
Type: behavior Stage: resolved
Components: Build, Distutils Versions: Python 3.7, Python 2.7
Status: closed Resolution: out of date
Dependencies: 2445 Superseder:
Assigned To: tarek Nosy List: amaury.forgeotdarc, dstufft, eric.araujo, jlt63, masamoto, ocean-city, rpetrov, steve.dower, tan2, tarek, vitalyy2000
Priority: normal Keywords: patch

Created on 2008-10-03 17:38 by ocean-city, last changed 2022-04-11 14:56 by admin. This issue is now closed.

File name Uploaded Description Edit
unixccompiler-implib.patch masamoto, 2016-10-29 07:30 review
2.7-unixccompiler-implib.patch masamoto, 2016-10-29 07:32 review
Pull Requests
URL Status Linked Edit
PR 4136 erik.bray, 2017-10-27 15:30
PR 4153 closed masamoto, 2017-10-27 16:33
Messages (9)
msg74265 - (view) Author: Hirokazu Yamamoto (ocean-city) * (Python committer) Date: 2008-10-03 17:38
This issue is derived from issue1706863.
msg119371 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2010-10-22 09:02
Can you produce a patch?

(Removing Terry from nosy at his request)
msg119378 - (view) Author: Hirokazu Yamamoto (ocean-city) * (Python committer) Date: 2010-10-22 10:51
I used to create the patch
in #1706863, but cygwin guys wanted this code implemented
in CCygwinCompiler class (See #2445).

I think #2445 should be resolved before.
msg119379 - (view) Author: Hirokazu Yamamoto (ocean-city) * (Python committer) Date: 2010-10-22 10:57
Can you port that patch? I don't have cygwin installed now.
msg119843 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2010-10-29 02:25
Okay, let’s reach a conclusion on the other bug before getting back to this one.
msg279661 - (view) Author: Masayuki Yamamoto (masamoto) * Date: 2016-10-29 07:30
Move version to 3.7 and 2.7, and I updated two patches adding import library type for file searching.

Current Cygwin is used UnixCCompiler, and the compiler has be able to build extension module that doesn't need to library link at build time (e.g. array).  And CygwinCCompiler has supported old version compilers, but its haven't maintained on Current Cygwin any longer.  Therefore I think there is no necessary that waits solution to #2445 and #18654.

So would you be able to free dependence to #2445, and start to review the patches?
Many thanks.
msg279662 - (view) Author: Masayuki Yamamoto (masamoto) * Date: 2016-10-29 07:32
And updated patch for 2.7
msg305125 - (view) Author: Masayuki Yamamoto (masamoto) * Date: 2017-10-27 16:50
I opened PR 4153 that is an alternative for PR 4136 (issue2445).
msg386326 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2021-02-03 18:19
Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils.

If this issue does not relate to distutils, please remove the component and reopen it. If you believe it still requires a fix, most likely the issue should be re-reported at
Date User Action Args
2022-04-11 14:56:40adminsetgithub: 48282
2021-02-03 18:19:19steve.dowersetstatus: open -> closed

nosy: + steve.dower
messages: + msg386326

resolution: out of date
stage: patch review -> resolved
2017-10-27 16:50:33masamotosetmessages: + msg305125
2017-10-27 16:33:26masamotosetpull_requests: + pull_request4121
2017-10-27 15:30:00erik.braysetstage: patch review
pull_requests: + pull_request4120
2016-10-29 07:32:01masamotosetfiles: + 2.7-unixccompiler-implib.patch

messages: + msg279662
2016-10-29 07:30:06masamotosetfiles: + unixccompiler-implib.patch

type: behavior

components: + Build, - Windows
versions: + Python 3.7, - Python 3.4, Python 3.5
keywords: + patch
nosy: + masamoto
title: distutils cannot recognize ".dll.a" as library on cygwin -> distutils doesn't search ".dll.a" as library on cygwin
messages: + msg279661
2014-07-09 21:52:23BreamoreBoysetnosy: + dstufft

components: - Distutils2
versions: + Python 3.4, Python 3.5, - 3rd party, Python 3.1, Python 3.2
2010-10-29 02:25:57eric.araujosetmessages: + msg119843
2010-10-22 10:57:15ocean-citysetmessages: + msg119379
2010-10-22 10:51:54ocean-citysetdependencies: + Use The CygwinCCompiler Under Cygwin
messages: + msg119378
2010-10-22 09:02:18eric.araujosetmessages: - msg113008
2010-10-22 09:02:08eric.araujosetnosy: + eric.araujo, - terry.reedy
messages: + msg119371
components: + Distutils2
versions: + 3rd party, Python 3.2
2010-08-10 11:35:48floxsetnosy: jlt63, terry.reedy, amaury.forgeotdarc, ocean-city, vitalyy2000, tarek, tan2, rpetrov
components: + Windows
2010-08-05 22:12:20ghaeringsetnosy: - ghaering
2010-08-05 19:00:07terry.reedysetnosy: + terry.reedy
messages: + msg113008
2010-08-05 18:58:57terry.reedysetversions: - Python 2.6, Python 3.0
2009-02-06 09:17:25tareksetassignee: tarek
nosy: + tarek
2008-10-11 15:55:04ocean-citysettitle: disutils cannot recognize ".dll.a" as library on cygwin -> distutils cannot recognize ".dll.a" as library on cygwin
2008-10-03 17:38:53ocean-citycreate