Message 61203 - Python tracker (original) (raw)

As far as I can see, platform.py only looks at 

the output of "uname -p" when platform.processor() is called. But on my system (Debian Linux), this doesn't give a result.

Could you please enhance this function in a 

way that it also looks at /proc/cpuinfo? I'd need this to automatically find the appropriate options like "-march=..." and "-msse" for gcc/g++ in an scons script.

Thanks,

- Stephan.