[Python-Dev] Solaris family and 64 bits compiling

Jesus Cea jcea at jcea.es
Tue Nov 23 13:19:39 CET 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 23/11/10 07:55, "Martin v. Löwis" wrote:
>> >> But if we say the Python can be compiled as 64 bits under Solaris,
would
>> >> be nice if that was actually true. Now that we have a buildbot (under
>> >> OpenIndiana) to test, it is doable.
> >
> > But it is true, and always has been true. The lib/64 issue did not
> > prevent one building Python on Solaris/SPARC64 at all, including the
> > extension modules. Just edit Modules/Setup to suit your needs - that
> > works since 1995 (before distutils was even written).
Would be acceptable to change something like:

"""
add_library_path("/usr/local/lib")
"""

to something similar to:

"""
if (platform.uname()=="SunOS") and (platform.architecture()[0]=="64bits") :
  add_library_path("/usr/local/lib/64")
else :
  add_library_path("/usr/local/lib")
"""

python-dev would consider that change OK?.

- -- 
Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
jcea at jcea.es - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
jabber / xmpp:jcea at jabber.org         _/_/    _/_/          _/_/_/_/_/
.                              _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQCVAwUBTOuxW5lgi5GaxT1NAQJuDwP/dzbhDZScanoSnPeF4Ze5XHm+WnSmowx+
x9qvM782i4bYzqYNsbpPHflshROpUwdl9dC0/dFySLFWmMYo12hYogbM6vr5RD6k
vEgq1iriIfsei9yNrtt2Ou6+1LVxJ2FMsbpY0Av5hDQVfuJpvB5WRML/mbyYj4T7
9w/jmPT2+rc=
=riDG
-----END PGP SIGNATURE-----


More information about the Python-Dev mailing list