[U-Boot-Users] -nostdinc

Andrew Wozniak awozniak at mc.com
Wed Mar 9 03:35:41 CET 2005


Hello,

Having lots of fun with U-boot on our custom PPC440GX board. We're also 
pretty far along on developing a loadable "u-boot application" for this 
board.

I've noticed that -nostdinc is used for many of the compiles. When I 
attempted to include stdlib.h and atoi() in our application, the 
compiler could not find the file.

Further examination of the U-Boot code-base shows little or no use of 
stdlib.h. Is this to keep the overall binary size to a minimum?

Any other reason for not adding this library to build? One simple 
alternative is to include our own atoi() source code.

Thanks and best regards, Andrew




More information about the U-Boot mailing list