[U-Boot-Users] Re: Problem building U-Boot for ARM target

Paolo Broggini pbroggini at softool.ch
Tue Oct 11 17:33:54 CEST 2005


Catalin Marinas ha scritto:
> Paolo Broggini <pbroggini at softool.ch> wrote:
> 
> 
> I don't think it is OT as long as the config.mk files are part of
> U-Boot and they don't work as expected (unless the bug is definitely
> in a different tool).
Ok
> 
> 
> 
> I tried the below file (with CC set to your compiler) and it works as
> expected for me (called with the two options as arguments), choosing
> -mapcs-32 (but it's a 3.4.0 compiler):
> 
>   #!/bin/sh
> 
>   CC=arm-linux-gcc
> 
>   if $CC $1 -S -o /dev/null -xc /dev/null \
>         > /dev/null 2>&1; then echo "$1"; else echo "$2"; fi;
> 
> You could look for bug in the shell as well
> 
I start to be a litle bit confused.
I tried what you suggested above and it works as expected here to i.e. it chooses
-mapcs-32!!!!!!!! But if I build U-Boot it still fails, it takes the wrong option!

What about if you tried to buid U-Boot ?

Best regards
-P.Broggini






More information about the U-Boot mailing list