[Patches] [ python-Patches-1254718 ] GCC detection for runtime_library_dirs when ccache is used

SourceForge.net noreply at sourceforge.net
Tue Aug 9 09:08:48 CEST 2005


Patches item #1254718, was opened at 2005-08-09 13:53
Message generated for change (Comment added) made by sanxiyn
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1254718&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Distutils and setup.py
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Seo Sanghyeon (sanxiyn)
Assigned to: Nobody/Anonymous (nobody)
Summary: GCC detection for runtime_library_dirs when ccache is used

Initial Comment:
Recently I discovered ccache and am very happily using it.

However, some Python extensions (python-ldap, to be
precise) didn't link correctly, ignoring
runtime_library_dirs, only if I used ccache.
(CC='ccache gcc' python setup.py...)

Attached patch fixes this by treating any compiler with
string gcc or g++ in it as GCC, not only those start
with gcc or g++. This feels like hack over hack, but oh
well.

----------------------------------------------------------------------

>Comment By: Seo Sanghyeon (sanxiyn)
Date: 2005-08-09 16:08

Message:
Logged In: YES 
user_id=837148

Hye-Shik Chang pointed out that Intel C Compiler(icc) needs
-Wl,-R as well, not -R. Perhaps this should check for icc too?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1254718&group_id=5470


More information about the Patches mailing list