Arm soft-float and hard-float query

Spen spen@spen-soft.co.uk
Thu Jul 13 14:27:00 GMT 2006


I have just built a arm-elf gcc using v4.1.1, previously I have had to use
the patch mentioned below, otherwise the object flags get set incorrectly.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14895

Build with no default options (implies soft-float):
private flags = 0: [APCS-32] [FPA float format]

Build with -mhard-float:
private flags = 0: [APCS-32] [FPA float format]

Build with -msoft-float:
private flags = 200: [APCS-32] [FPA float format] [software FP]

Patching config/elf.h fixes the problem, I was just wondering whether the
gcc trunk will ever be updated ?

Many Thanks
Spen



More information about the Gcc-help mailing list