Hi Armin,

On 10.08.2013, at 13:43, Armin Rigo <[email protected]> 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 the
> cross-compilation environments we use?

with the cross-compilation we use, this change would lead to picking the 
information of the host machine and not of the ARM target itself. Eventually 
something like detect_model_from_c_compiler from 
rpython/jit/backend/detect_cpu.py might be useful to check for the machine, 
which uses the (cross-)compiler to do the check.
        
Cheers,

David
_______________________________________________
pypy-dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to