[U-Boot] sandbox question

Simon Glass sjg at chromium.org
Wed Jan 8 00:58:39 CET 2014


Hi Tiger,


On 30 December 2013 17:42, <TigerLiu at viatech.com.cn> wrote:

> Hi, Simon:
> Sorry for some typo.
> I re-wrote this mail:
>

I've been away, sorry for the delay.


> ---------------------------------------
> I have a question about compiling uboot sandbox branch:
> 1. It seems sandbox branch could be compiled by gcc compiler on a x86
> platform.
>    Not need to set cross compiler tool chains.
>    And after finished compiling, it could be run on a x86 environment.
>    So, my question is:
>    The obj file for a same .C file by arm cross compiler tool chain is
> different with the obj file produced by a x86 gcc tool.
>    (On my x86 platform, defaut gcc is a x86 version)
>
>    So, for more precise test for non-platform code:
>     User should compile sandbox branch with an arm cross compiler tool
> chain.
>     And should run it on an arm linux environment?
>

Well you could, but what benefit would that provide? It would not use any
code from arch/arm if that is what you are thinking. Sandbox is its own
'architecture'?

Regards,
Simon


>
> Best wishes,
>


More information about the U-Boot mailing list