On 5/27/05, M.-A. Lemburg <[EMAIL PROTECTED]> wrote: > Nicholas Bastin wrote: > > I am in serious need of some help (mental?) with building a > > distutils-distributed python extension (PyXML). > > > > I am on Solaris 8, with the SunPro Forte 10 compiler. I tried the > > following command line, thinking that it was reasonable: > > > > python setup.py build --compiler=unix > > > > but the definition of "standard UNIX-style compiler" appears to be > > 'gcc'. Although I don't quite understand that...the dictionary in > > unixcompiler.py is initialized to the compiler being 'cc', which would > > be the Right Thing(tm) on quite a lot of unix platforms, including > > Solaris. However, by the time the compile command is actually issued > > on the command line, it's trying to use gcc. I don't follow quite how > > distutils decides what compiler to use, so I was wondering if someone > > could point me in the right direction to build with SunPro instead of > > gcc. > > distutils picks up the compiler default from the settings > Python was compiled with.
I don't have gcc, so it's really not possible that I built Python with gcc. Where does distutils try to pick this up from? Also, I'm assuming this is only true on unix? Win32 seems to pick MSVC no matter what (and complain a lot if you don't have it). -- Nick _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
