This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hello All, This patchset fixes (tries to fix) the floating point settings for architectures that do not support it. Previously, when hard-float was selected, no option was passed to ./configure, and no CFLAGS was set. Since changeset #149c33923f47, hard-float sets --with-float=hard as a configure option, and -mhard-float as a CFLAGS. This breaks architectures for which these are not valid, which are all except ARM, MIPS, PPC and SPARC; see: http://gcc.gnu.org/viewcvs/trunk/gcc/config.gcc?revision=181079&view=markup (via Morten Thunberg Svendsen <mts@doredevelopment.dk>) What this patchset does, is simply hide the floating point mode selection when the architecture does not support it. There is a drawback, though: it is no longer possible to select soft-float for the x86 architecture. On one hand, I think this is not too bad, because x86 nowadays do have an FPU; OTOH, i386 and i486 may lack an FPU, and they most likely are the kind of CPU one would find in an x86-embedded product. [PATCH 1/6] config/target: add float support selection [PATCH 2/6] arch/arm: ARM supports setting the floating point type [PATCH 3/6] arch/mips: MIPS supports setting the floating point type [PATCH 4/6] arch/powerpc: PowerPC supports setting the floating point type [PATCH 5/6] arch/sparc: Sparc supports setting the floating point type [PATCH 6/6] config/target: enforce floating point support As usual, comments welcome! :-) Regards, Yann E. MORIN. PS. I'll be without internet access until Monday evening... -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |