[Distutils] Complling on IRIX OS
Greg Ward
gward@cnri.reston.va.us
Tue, 1 Feb 2000 08:57:07 -0500
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