public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
To: Morten Thunberg Svendsen <mts@doredevelopment.dk>
Cc: crossgcc@sourceware.org, Michael Hope <michael.hope@linaro.org>
Subject: Re: [PATCH 1 of 4] scripts: introduce float type as a string
Date: Fri, 25 Nov 2011 17:13:00 -0000	[thread overview]
Message-ID: <201111251813.01129.yann.morin.1998@anciens.enib.fr> (raw)
In-Reply-To: <CAHo+6YXUBOYhwq55ou7Ec2j1RzVFXstV5rkMfFAzDToMTGUA5Q@mail.gmail.com>

Morten, Michael, All,

On Friday 25 November 2011 13:19:34 Morten Thunberg Svendsen wrote:
> x86 do not support the --with-float option or the -msoft/har-float.
> This seems to fix it for x86  (only arm, mips, powerpc and sparc
> supports --with-float
> http://gcc.gnu.org/viewcvs/trunk/gcc/config.gcc?revision=181079&view=markup
> )

Ah, that's a good reference. Thanks!

> diff -r 258160822e35 scripts/build/arch/x86.sh
> --- a/scripts/build/arch/x86.sh	Wed Nov 23 13:15:27 2011 +0800
> +++ b/scripts/build/arch/x86.sh	Fri Nov 25 13:07:05 2011 +0100
> @@ -20,4 +20,16 @@
>              *)                            CT_TARGET_ARCH=i586;;
>          esac
>      fi
> +
> +    # with-float is not possible for x86
> +    case "${CT_ARCH_FLOAT}" in
> +        hard)
> +            CT_ARCH_FLOAT_CFLAG=
> +            CT_ARCH_WITH_FLOAT=
> +            ;;
> +        soft)
> +            CT_ARCH_FLOAT_CFLAG="-msoft-float"
> +            CT_ARCH_WITH_FLOAT=
> +            ;;
> +    esac
>  }

I already have a set of patches here that fixes this here. I'll update them
with the info above (supported only by: arm, mips, ppc and sparc).

Thank you.

Regards,
Yann E. MORIN.


-- 
.-----------------.--------------------.------------------.--------------------.
|  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

  reply	other threads:[~2011-11-25 17:13 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-19  2:29 [PATCH] scripts: add softfp support Michael Hope
2011-10-19 21:02 ` Yann E. MORIN
2011-10-20  0:30   ` Michael Hope
2011-10-21  2:17   ` Michael Hope
2011-11-01 23:42     ` [PATCH 0 of 4] Adding " Yann E. MORIN
2011-11-01 23:42       ` [PATCH 1 of 4] scripts: introduce float type as a string Yann E. MORIN
2011-11-25 12:20         ` Morten Thunberg Svendsen
2011-11-25 17:13           ` Yann E. MORIN [this message]
2011-11-25 23:23             ` [PATCH 0 of 6] Fix --with-float= for architectures that do not support it Yann E. MORIN
2011-11-25 23:23               ` [PATCH 3 of 6] arch/mips: MIPS supports setting the floating point type Yann E. MORIN
2011-11-25 23:23               ` [PATCH 1 of 6] config/target: add float support selection Yann E. MORIN
2011-11-28 12:32                 ` Thomas Petazzoni
2011-11-28 17:46                   ` Yann E. MORIN
2011-11-25 23:23               ` [PATCH 2 of 6] arch/arm: ARM supports setting the floating point type Yann E. MORIN
2011-11-25 23:30               ` [PATCH 4 of 6] arch/powerpc: PowerPC " Yann E. MORIN
2011-11-25 23:30               ` [PATCH 5 of 6] arch/sparc: Sparc " Yann E. MORIN
2011-11-25 23:30               ` [PATCH 6 of 6] config/target: enforce floating point support Yann E. MORIN
2011-11-01 23:43       ` [PATCH 2 of 4] scripts: use the hardfloat option to set configure and CFLAGS Yann E. MORIN
2011-11-01 23:43       ` [PATCH 3 of 4] arch: add softfp support Yann E. MORIN
2011-11-01 23:50       ` [PATCH 4 of 4] arch/arm: ARM supports the softfp convention Yann E. MORIN
2011-11-07 20:40       ` [PATCH 0 of 4] Adding softfp support Yann E. MORIN
2011-11-09  0:48       ` Michael Hope
2011-11-09 19:01         ` Yann E. MORIN

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201111251813.01129.yann.morin.1998@anciens.enib.fr \
    --to=yann.morin.1998@anciens.enib.fr \
    --cc=crossgcc@sourceware.org \
    --cc=michael.hope@linaro.org \
    --cc=mts@doredevelopment.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).