Re: [pypy-dev] os.uname() in rpython/memory/gc/env.py

2013-08-10 Thread David Schneider
Hi Armin, On 10.08.2013, at 13:43, Armin Rigo wrote: > Can anyone check if this makes sense for > cross-compilation? E.g. if cross-compiling for ARM, say, would not > end up with the host x86 platform here? In other words, what is > os.uname() returning when called from a Python running inside

[pypy-dev] os.uname() in rpython/memory/gc/env.py

2013-08-10 Thread Armin Rigo
Hi, During refactorings I found out that os.uname() is called at run-time from rpython/memory/gc/env.py to figure out on which platform we are. It also means that the logic to figure out the L2 cache size *for all platforms* is compiled into any pypy-c. In ab7580454b32 I moved the call to transla