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

Paolo Broggini pbroggini at softool.ch
Tue Oct 11 15:22:34 CEST 2005


Catalin Marinas ha scritto:
> Paolo Broggini <pbroggini at softool.ch> wrote:
> 
>>Catalin Marinas ha scritto:
>>
>>>PLATFORM_CPPFLAGS +=$(call cc-option,-mapcs-32,$(call
>>>cc-option,-mabi=apcs-gnu,))
>>
>>Great, with this it builds fine :-) but the statement contained in
>>the head of git 'config.mk' is:
>>
>>  PLATFORM_CPPFLAGS +=$(call cc-option,-mapcs-32,-mabi=apcs-gnu)
> 
> 
> My proposals tries both -mapcs-32 and -mabi=apcs-gnu and if neither
> works it doesn't add anything.
-mapcs-32 do work, -mabi=apcs-gnu doesn't!

> In your config.mk file, can you change -mapcs-32 with -g (this one
> would never fail) just to make sure there isn't any problem with the
> option checker?
Ok, see below:
  1) PLATFORM_CPPFLAGS +=$(call cc-option,-mapcs-32,-mabi=apcs-gnu)
     -> gcc complains about '-mabi=apcs-gnu' (see my original mail)

  2) PLATFORM_CPPFLAGS +=$(call cc-option,-g,-mabi=apcs-gnu)
     -> everything compiles fine, the option used is '-g'

  3) PLATFORM_CPPFLAGS +=$(call cc-option,-mapcs-32,-g)
     -> everything compiles fine, the option used is '-mapcs-32'

Thanks

-P.Broggini





More information about the U-Boot mailing list