I have seen in the TODO file
that there was an entry about AIX.
I tried it and found some little
problems. It seems some paths in the
Makefile are wrong.
After playing a little bit around
with it, I wrote a new compiler
class. (I think, these changes could
be included in unixccompiler, but
to test it, it is nice to have a
own file for it.)
Maybe we should also change the
default compiler table. I think
we should have entries for sys.platform
in it, too. So we could try a more
specific name first ('aix4') and if
there is no entry the usual os.name
The AIXCCompiler class is attached,
maybe someone wants to try it, and
find out if this is really all
we have to change against the
(Don't forget to make an entry
for it in ccompiler.py.)
PS: I used AIX 4.3 and its 'cc' compiler.
Contains the AIXCCompiler class, a subclass of UnixCCompiler that handles
some path problems with AIX.
The makefile isn't correct for distutils' standard compiler.
# created 2000/06/23, Rene Liebscher
__revision__ = "$Id: aixccompiler.py $"
from distutils import sysconfig
from distutils.unixccompiler import UnixCCompiler
# XXX Things not currently handled:
# * see UnixCCompiler
class AIXCCompiler (UnixCCompiler):
compiler_type = 'aix'
def __init__ (self,
UnixCCompiler.__init__ (self, verbose, dry_run, force)
# we have to correct some paths
# __init__ ()
# class AIXCCompiler