Compile as static

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • tjue1@sussex.ac.uk

    #1

    Compile as static

    Hello List

    Has anyone had any luck with this? Im trying to compile python 2.4.2 on
    Slackware 10.1 into one large executable. One which contains everything
    required to run python (as static). So python doesn't look for
    dynamically shared objects like libpthread.so.0 .

    I have tried ./configure --disable-dynamic
    --enable-dynamic=NO
    --enable-static

    However the executable size is always the same :/ Please assist.

    Thank You

    Matt
  • Martin v. Löwis

    #2
    Re: Compile as static

    tjue1@sussex.ac .uk wrote:[color=blue]
    > However the executable size is always the same :/ Please assist.[/color]

    At a minimum, you should edit Modules/Setup to compile all extension
    modules in.

    Regards,
    Martin

    Comment

    Working...