On Wed, 20 Feb 2008 18:58:27 +0100
"Ulf Samuelsson" <[EMAIL PROTECTED]> wrote:

> Looks OK to me, but I never used "call cc-option".

cc-option will try to run the compiler with the option. If the compiler
didn't complain, it evaluates to the option. If it failed, it evaluates
to nothing.

Very useful if you want to introduce new compiler options without
breaking compatibility with old or weird compilers. The Linux build
system uses it all over the place -- I suspect we could prevent quite a
few toolchain incompatibilies by using it more extensively in u-boot as
well.

Of course, it won't help you if the compiler misbehaves in other ways
than just refusing to accept the option.

Haavard

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to