To install on an IRIX OS, sometimes we need to compile with the -o32 flag. I can't seem to find how to do this with distutils. Any ideas?
On 27 January 2000, Curtis Jensen said:
To install on an IRIX OS, sometimes we need to compile with the -o32 flag. I can't seem to find how to do this with distutils. Any ideas?
Hmmm... I just checked the source, and it looks like there is no way to do this right now. ;-( Why do you need to? The Distutils default -- in fact, its *only* behaviour for now -- is to compile extensions the same way you compiled Python itself. I'm a bit fuzzy on the various 32/64 options for the IRIX 6+ compiler, but I expect you'd have a hard time loading .so's compiled one way into an executable compiled another way. What exactly are you trying to accomplish here -- better performance, ability to run on more platforms (ie. 32- and 64-bit IRIX), or what?
Thanks --
Greg
Greg, This is a *very* typical instance: there is a bug in the way this platform compiles one file. You can't just compile everything the way you compiled Python.
-----Original Message----- From: distutils-sig-admin@python.org [mailto:distutils-sig-admin@python.org]On Behalf Of Greg Ward Sent: Tuesday, February 01, 2000 5:57 AM To: distutils-sig@python.org Subject: Re: [Distutils] Complling on IRIX OS
On 27 January 2000, Curtis Jensen said:
To install on an IRIX OS, sometimes we need to compile with the -o32 flag. I can't seem to find how to do this with distutils. Any ideas?
Hmmm... I just checked the source, and it looks like there is no way to do this right now. ;-( Why do you need to? The Distutils default -- in fact, its *only* behaviour for now -- is to compile extensions the same way you compiled Python itself. I'm a bit fuzzy on the various 32/64 options for the IRIX 6+ compiler, but I expect you'd have a hard time loading .so's compiled one way into an executable compiled another way. What exactly are you trying to accomplish here -- better performance, ability to run on more platforms (ie. 32- and 64-bit IRIX), or what?
Thanks --
Greg
_______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://www.python.org/mailman/listinfo/distutils-sig