[Patches] [ python-Patches-485572 ] Distutils -- set runtime library path

noreply@sourceforge.net noreply@sourceforge.net
Mon, 26 Nov 2001 05:43:05 -0800


Patches item #485572, was opened at 2001-11-26 04:03
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=485572&group_id=5470

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Richard Everson (reverson)
Assigned to: M.-A. Lemburg (lemburg)
Summary: Distutils -- set runtime library path

Initial Comment:
The runtime libraries option to Distutils Extension
currently fails with gcc (on Linux at least) because,
despite what "info gcc" says, 

gcc -R/run/time/lib/path  

doesn't get relayed to the loader to set the runtime
libraries search
path.  In order to correctly pass the -R to the loader
you need

gcc -Wl,-R/run/time/lib/path

There is something mentioning the -Wl, option in
cygwinccompiler.py but it is commented out.  The
attached patch works for me on a Linux or Solaris box,
but I haven't tested it more extensively than that. It
is against $Id: extension.py,v 1.8 2001/03/22 03:48:31
akuchling Exp $ from the python-2.1.1 distribution.

Also I'm not sure of the "correct" way of deducing what
compiler is
being used -- I hope the get_config_var() route is
acceptable.


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

>Comment By: Richard Everson (reverson)
Date: 2001-11-26 05:43

Message:
Logged In: YES 
user_id=385419

Sorry about the lack of the patch -- I pressed submit too
soon.

It should now be attached.




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

Comment By: M.-A. Lemburg (lemburg)
Date: 2001-11-26 05:15

Message:
Logged In: YES 
user_id=38388

I'll look into this after the Python 2.2 feature freeze. Thanks.

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

Comment By: M.-A. Lemburg (lemburg)
Date: 2001-11-26 05:14

Message:
Logged In: YES 
user_id=38388

There's no uploaded file!  You have to check the
checkbox labeled "Check to Upload & Attach File"
when you upload a file.

Please try again.

(This is a SourceForge annoyance that we can do
nothing about. :-( )

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

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