-shared option in distutils

Andrew MacIntyre andymac at bullseye.apana.org.au
Wed Jul 30 12:41:57 CEST 2003


On Wed, 30 Jul 2003, Dave Harrison wrote:

> 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 ?

Grepping the source suggests unixccompiler.py contains the magic you seek.

--
Andrew I MacIntyre                     "These thoughts are mine alone..."
E-mail: andymac at bullseye.apana.org.au  (pref) | Snail: PO Box 370
        andymac at pcug.org.au             (alt) |        Belconnen  ACT  2616
Web:    http://www.andymac.org/               |        Australia





More information about the Python-list mailing list