Issue 1032: Improve the hackish runtime_library_dirs support for gcc (original) (raw)

Issue1032

Created on 2007-08-26 23:07 by alexandre.vassalotti, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
better_gcc_detection.patch alexandre.vassalotti,2007-08-26 23:09
better_gcc_detection-2.patch alexandre.vassalotti,2007-08-28 15:53
Messages (3)
msg55317 - (view) Author: Alexandre Vassalotti (alexandre.vassalotti) * (Python committer) Date: 2007-08-26 23:07
In distutils.unixccompiler, there is a hack to passing correctly the -R option to gcc (and a few other compilers). However, there is a small bug that causes gcc to not be detected correctly if the compiler name does not start with "gcc" (e.g., "i486-linux-gnu-gcc", or "ccache gcc").
msg55345 - (view) Author: Seo Sanghyeon (sanxiyn) Date: 2007-08-28 01:14
The patch is incorrect since find returns -1 on failure. This is also a duplicate of #1254718.
msg55375 - (view) Author: Alexandre Vassalotti (alexandre.vassalotti) * (Python committer) Date: 2007-08-28 15:53
> The patch is incorrect since find returns -1 on failure. Oops, that is right. I attached the corrected patch.
History
Date User Action Args
2022-04-11 14:56:26 admin set github: 45373
2009-06-10 02:11:36 alexandre.vassalotti set status: open -> closedresolution: duplicatesuperseder: GCC detection for runtime_library_dirs when ccache is used
2009-02-05 16:47:07 tarek set versions: - Python 2.6, Python 3.0
2009-02-05 16:38:21 akitada set nosy: + tarektype: compile error -> behaviorversions: + Python 2.6, Python 3.0, Python 3.1, Python 2.7
2007-09-17 07:29:53 jafo set priority: normalassignee: loewisnosy: + loewis
2007-09-02 20:09:03 loewis set keywords: + patch
2007-08-28 15:53:22 alexandre.vassalotti set files: + better_gcc_detection-2.patchmessages: +
2007-08-28 01:14:05 sanxiyn set nosy: + sanxiynmessages: +
2007-08-26 23:09:58 alexandre.vassalotti set files: + better_gcc_detection.patch
2007-08-26 23:07:36 alexandre.vassalotti create