From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerry Van Baren Date: Fri, 06 Jun 2008 12:31:58 -0400 Subject: [U-Boot-Users] How to debug u-boot In-Reply-To: <200806061626.m56GQEZ2022127@mail.corelis.com> References: <200806061626.m56GQEZ2022127@mail.corelis.com> Message-ID: <4849667E.8010601@ge.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Brian S. Park wrote: > Hi every one. > I need help with debugging u-boot. If I comple u-Boot without -Os > optimization, I get bunch of errors about missing functions. They are > inline functions (in_be32, out_be32, out_8, etc) and I'm not sure how > to make sure they are included when building the code without optimization. > > I'm using ELDK4.1 for windows and u-Boot-1.3.3 > > Any help or pointers will be appreciated. > > Thanks > > Brian My vague recollections of gcc folklore is that you must use optimization when you use inlined functions. Maybe -fkeep-inline-functions fixes it? Sorry, gvb