[U-Boot] sandbox question
TigerLiu at viatech.com.cn
TigerLiu at viatech.com.cn
Mon Dec 30 08:40:10 CET 2013
Hi, Simon:
Sandbox concept is a very good idea to test uboot's non-platform part
code.
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:
Arm cross compiler tool chains could produce different obj file for a
same .C file.
The obj file for a same .C file by arm cross compiler tool chain is
not 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?
Best wishes,
More information about the U-Boot
mailing list