From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Wozniak Date: Tue, 08 Mar 2005 21:35:41 -0500 Subject: [U-Boot-Users] -nostdinc Message-ID: <422E60FD.50108@mc.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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