Floating Point Support

Ian Lance Taylor iant@google.com
Tue Feb 12 20:04:00 GMT 2008


PatrickClarityMicro <patrick@claritymicrosolutions.com> writes:

> I am new at using GNU tools, so please forgive this elementary question.
> 
> I am trying to test software floating point math for an ARM processor. When
> compiling with floating point variables, compilation occurs without errors.
> However, when linking, I receive the message:
> 
> Undefined external: _adds32 not found (Or _addds32 not found, _extendd32,
> etc.).

Those names do not sound like names generated by gcc.  Are you sure
you are using gcc?  Have you included any objects or libraries
compiled by other compilers?

> Clearly I am missing a library, but I cannot find which library I need to
> link that has these routines. I have libc.a and libm.a, but do not know what
> else to include. Can anyone help me find the correct library?

Normally for gcc this type of thing would be in libgcc.  When you link
with gcc, libgcc should be included automatically.

Ian



More information about the Gcc-help mailing list