How to build 64-bit Python on Solaris with GCC?

Stefan Krah stefan-usenet at bytereef.org
Fri Dec 9 11:41:37 EST 2011
Skip Montanaro <skip at pobox.com> wrote:
> Thanks.  I have several different versions in my local sandbox.  None
> are 64-bit ELFs.  Just to make sure I hadn't missed some new development
> in this area, I cloned the hg repository and build the trunk version
> from scratch.  I get a 32-bit executable on Solaris:
> 
>    % file ./python
>    ./python: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
>    dynamically linked (uses shared libs), not stripped

./configure CFLAGS=-m64 LDFLAGS=-m64 should work with a reasonably
recent revision.


Stefan Krah





More information about the Python-list mailing list