How do I find out what platform SCons is building for (Linux, Mac OS X, Windows, &c-- not concerned with architecture).
Will http://docs.python.org/library/platform.html#platform.platform (true,true) do what you want? If not you may have to map it yourself from data in the other platform methods.