-shared option in distutils

Discussion in 'Python' started by Dave Harrison, Jul 30, 2003.

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

    cheers
    Dave
    Dave Harrison, Jul 30, 2003
    #1
    1. Advertising

  2. Dave Harrison <> 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
    intervention.

    Regards,
    Martin
    Martin v. =?iso-8859-15?q?L=F6wis?=, Jul 30, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Julien ROUZIERES

    g++ -pg option and -shared option

    Julien ROUZIERES, Dec 21, 2004, in forum: C++
    Replies:
    1
    Views:
    716
    GianGuz
    Dec 21, 2004
  2. Peter Schmiedeskamp
    Replies:
    1
    Views:
    535
    Martin v. =?iso-8859-15?q?L=F6wis?=
    Nov 1, 2003
  3. timw.google
    Replies:
    1
    Views:
    532
    Serge Orlov
    May 11, 2006
  4. jeremito
    Replies:
    0
    Views:
    298
    jeremito
    Dec 27, 2007
  5. Luis Alberto Zarrabeitia Gomez

    distutils, No module named numpy.distutils.fcompiler.conv_template

    Luis Alberto Zarrabeitia Gomez, Mar 30, 2009, in forum: Python
    Replies:
    0
    Views:
    1,301
    Luis Alberto Zarrabeitia Gomez
    Mar 30, 2009
Loading...

Share This Page