public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Add an ARCH_FLOAT_AUTO option to avoid passing float options to gcc and allow it to choose
@ 2014-05-10  2:10 Cody Schafer
  2014-05-11  0:16 ` Cody P Schafer
  2014-05-11 10:54 ` arch: add option to let gccdecide what floating point to use Yann E. MORIN
  0 siblings, 2 replies; 3+ messages in thread
From: Cody Schafer @ 2014-05-10  2:10 UTC (permalink / raw)
  To: crossgcc

# HG changeset patch
# User Cody Schafer <dev@codyps.com>
# Date 1399687808 25200
#      Fri May 09 19:10:08 2014 -0700
# Node ID 088489641f4790262685c05bef727ef8ebd5ab83
# Parent  782051b16ef832a4a5a800571fa5a53f4a9f9370
Add an ARCH_FLOAT_AUTO option to avoid passing float options to gcc and allow it to choose

diff --git a/config/target.in b/config/target.in
--- a/config/target.in
+++ b/config/target.in
@@ -296,6 +296,15 @@
     prompt "Floating point:"
     depends on ARCH_SUPPORTS_WITH_FLOAT
 
+config ARCH_FLOAT_AUTO
+    bool
+    prompt "auto (let gcc decide)"
+    help
+      Instead of explicitly passing a float option, don't
+      pass any float options and let gcc figure it out.
+
+      For multilib configurations, this may help.
+
 config ARCH_FLOAT_HW
     bool
     prompt "hardware (FPU)"
@@ -364,6 +373,7 @@
 config ARCH_FLOAT
     string
     default ""       if ! ARCH_SUPPORTS_WITH_FLOAT
+    default "auto"   if ARCH_FLOAT_AUTO
     default "hard"   if ARCH_FLOAT_HW
     default "soft"   if ARCH_FLOAT_SW
     default "softfp" if ARCH_FLOAT_SOFTFP


--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Add an ARCH_FLOAT_AUTO option to avoid passing float options to gcc and allow it to choose
  2014-05-10  2:10 [PATCH] Add an ARCH_FLOAT_AUTO option to avoid passing float options to gcc and allow it to choose Cody Schafer
@ 2014-05-11  0:16 ` Cody P Schafer
  2014-05-11 10:54 ` arch: add option to let gccdecide what floating point to use Yann E. MORIN
  1 sibling, 0 replies; 3+ messages in thread
From: Cody P Schafer @ 2014-05-11  0:16 UTC (permalink / raw)
  To: crossgcc

On 05/09/2014 07:10 PM, Cody Schafer wrote:
> # HG changeset patch
> # User Cody Schafer <dev@codyps.com>
> # Date 1399687808 25200
> #      Fri May 09 19:10:08 2014 -0700
> # Node ID 088489641f4790262685c05bef727ef8ebd5ab83
> # Parent  782051b16ef832a4a5a800571fa5a53f4a9f9370
> Add an ARCH_FLOAT_AUTO option to avoid passing float options to gcc and allow it to choose
>

Signed-off-by: Cody P Schafer <dev@codyps.com>


> diff --git a/config/target.in b/config/target.in
> --- a/config/target.in
> +++ b/config/target.in
> @@ -296,6 +296,15 @@
>       prompt "Floating point:"
>       depends on ARCH_SUPPORTS_WITH_FLOAT
>
> +config ARCH_FLOAT_AUTO
> +    bool
> +    prompt "auto (let gcc decide)"
> +    help
> +      Instead of explicitly passing a float option, don't
> +      pass any float options and let gcc figure it out.
> +
> +      For multilib configurations, this may help.
> +
>   config ARCH_FLOAT_HW
>       bool
>       prompt "hardware (FPU)"
> @@ -364,6 +373,7 @@
>   config ARCH_FLOAT
>       string
>       default ""       if ! ARCH_SUPPORTS_WITH_FLOAT
> +    default "auto"   if ARCH_FLOAT_AUTO
>       default "hard"   if ARCH_FLOAT_HW
>       default "soft"   if ARCH_FLOAT_SW
>       default "softfp" if ARCH_FLOAT_SOFTFP
>
>
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq
>

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 3+ messages in thread

* arch: add option to let gccdecide what floating point to use
  2014-05-10  2:10 [PATCH] Add an ARCH_FLOAT_AUTO option to avoid passing float options to gcc and allow it to choose Cody Schafer
  2014-05-11  0:16 ` Cody P Schafer
@ 2014-05-11 10:54 ` Yann E. MORIN
  1 sibling, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2014-05-11 10:54 UTC (permalink / raw)
  To: Cody Schafer, Yann E. MORIN; +Cc: crossgcc

Cody, All,

Your patch:
    arch: add option to let gccdecide what floating point to use

has been applied as: #6fb47591d19d
    http://crosstool-ng.org/hg/crosstool-ng/rev/6fb47591d19d

Thank you!

Regards,
Yann E. MORIN.



--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-05-11 10:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-10  2:10 [PATCH] Add an ARCH_FLOAT_AUTO option to avoid passing float options to gcc and allow it to choose Cody Schafer
2014-05-11  0:16 ` Cody P Schafer
2014-05-11 10:54 ` arch: add option to let gccdecide what floating point to use Yann E. MORIN

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