From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Scholz Date: Thu, 03 Mar 2005 17:57:43 +0100 Subject: [U-Boot-Users] ...uses hardware FP, whereas u-boot uses software FP... In-Reply-To: <20050303165258.A6673C1510@atlas.denx.de> References: <20050303165258.A6673C1510@atlas.denx.de> Message-ID: <42274207.7020608@imc-berlin.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Wolfgang Denk wrote: > In message <42273E35.50408@imc-berlin.de> you wrote: > >>>I repeat: Your compiler libraries are built using hardware FP, >>>whereas u-boot uses software FP. > > ... > >>Since my user applications seems to run fine under linux I assume that my glibc >>supports softfloat. > > > Maybe, maybe not. Any hint how I could make sure and test it? >>U-Boot does not use glibc but libgcc.a. Since the compiler complains while > > No. U-Boot does NOT use libgcc.a. > > It is your compiler which requires libgcc.a. Ok. Thanks. >>compiling U-Boot, it seems that my libgcc.a does not support softfloat. >>So the problems lies in how my compiler was built and not how the glibc was built. >>Did I get this right? > > Right. It has nothing to do with glibc. It's the compiler libraries > which use hardware FP, which does not mix with any other code that > uses soft-float. > > [This is why I have doubts if your Linux stuff really uses soft- > float; you'd run in the same problem there, too. But this is a > different issue.] Ok. Thanks a million so far. I guess I try my luck on crossgcc at sources.redhat.com then. -- Steven