This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Arm soft-float and hard-float query


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]