[Python-bugs-list] [ python-Bugs-445902 ] runtime_library_dirs and gcc don't mix

noreply@sourceforge.net noreply@sourceforge.net
Tue, 04 Sep 2001 12:58:51 -0700


Bugs item #445902, was opened at 2001-07-30 03:15
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=445902&group_id=5470

Category: Distutils
Group: Platform-specific
Status: Open
Resolution: None
>Priority: 7
Submitted By: Gary Capell (gcapell)
Assigned to: A.M. Kuchling (akuchling)
Summary: runtime_library_dirs and gcc don't mix

Initial Comment:
providing runtime_library_dirs	=["/foo"],
setup.py build does:

gcc -shared -R/foo ...

whereas it requires

gcc -shared -Wl,-R/foo

to get the option through to the linker.

My configuration:

python2.1.1, gcc 2.9.6, binutils 2.10.91.0.2,
redhat 7.1, intel


Please let me know if I'm just doing something stupid.

Thanks heaps for the distutils stuff, it makes playing
with extensions way easier.


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

Comment By: Martin v. Löwis (loewis)
Date: 2001-08-11 00:53

Message:
Logged In: YES 
user_id=21627

It somewhat depends on the platform; on Solaris, gcc will 
accept -R. On Linux, it doesn't, so this is really 
distutils fault, not yours.


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

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=445902&group_id=5470