[U-Boot] [PATCH] EXT4
Graeme Russ
graeme.russ at gmail.com
Tue May 22 08:26:09 CEST 2012
Hi Jorgen,
On Tue, May 22, 2012 at 4:17 PM, Jorgen Lundman <lundman at lundman.net> wrote:
>
>
>> Uninitialized global and static variables reside in .bss and are set
>> to zero during relocation. Initialised globals and static variables go
>> into .data
>
>
> Alas, I know from experience that Microsoft's C compiler does not initialise
> global variables (to make it faster one assumes) which has led to hours of
> debugging.
Well actually, it's not the compiler/linker that initialised .bss -
it's the dynamic loader. In the case of U-Boot, it's the Flash->RAM
relocation code.
> If u-boot has decided that going without Microsoft compiling support is
> A-OK, then that is A-OK with me too. :)
I don't know of anyone that has even tried, let alone succeeded in
compiling U-Boot with a Microsoft compiler. I've heard of cygwin
attempts (that from memory have also failed miserably)
Generally speaking, gnu based tools are your best bet. Speaking of
which, we really should have a list of 'supported tools' which are
known to successfully build U-Boot...
Regards,
Graeme
More information about the U-Boot
mailing list