Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > -shared option in distutils

Thread Tools

-shared option in distutils

Dave Harrison
Posts: n/a
afternoon pythonic gurus,

quick question about distutils.

Im compiling on solaris 9 and am having problems with the linking (I loathe solaris these days ,
and if I call gcc by hand and remove the -shared flag and replace it with -G it works.

But I just cant find where I need to change this in the distutils package for my install of python2.1.1.

Where can I find it ?


Reply With Quote
Martin v. =?iso-8859-15?q?L=F6wis?=
Posts: n/a
Dave Harrison <(E-Mail Removed)> writes:

> Where can I find it ?

It is extracted from the installed Makefile. In theory, if you build
Python with the Sun compiler, it should automatically decide to use
-G, and so should then distutils use -G as well, without manual


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
distutils.core.setup --install-script option in Python 2.6 ? j vickroy Python 5 11-06-2009 10:30 AM
distutils, No module named numpy.distutils.fcompiler.conv_template Luis Alberto Zarrabeitia Gomez Python 0 03-30-2009 03:56 PM
Removing compile option in distutils jeremito Python 0 12-27-2007 08:47 PM
can distutils windows installer invoke another distutils windows installer Python 1 05-11-2006 10:07 PM
Distutils: bdist_wininst. System integration use. (--silent option?,etc.) Peter Schmiedeskamp Python 1 11-01-2003 08:49 AM