public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug web/62211] New: ./configure --with-float= and ARM
@ 2014-08-20 19:00 dilyan.palauzov at aegee dot org
  2014-09-09 18:52 ` [Bug web/62211] " rearnsha at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: dilyan.palauzov at aegee dot org @ 2014-08-20 19:00 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62211

            Bug ID: 62211
           Summary: ./configure --with-float= and ARM
           Product: gcc
           Version: 4.9.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: web
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dilyan.palauzov at aegee dot org

At https://gcc.gnu.org/install/configure.html is written:

Options specification

--with-fpu=type
--with-float=type
  These configure options provide default values for the -mfpu= option and for
-mhard-float or -msoft-float.

I want to configure for ARM.  In the gcc manual, node 3.1 Option Summary under
_ARM Options_ is mentioned the option -mfloat-abi= but -m(hard,sort)-float are
not mentioned.

In node 3.17.4 ARM Options is mentioned, that -mfloat-abi can be hard, soft or
softfp.

Does ./configure-ing gcc --with-float=X lead to defaulting the -mfloat-abi
option later, when gcc is not called?  In such a case, the documentation for
configuring gcc shall mention, that --with-float=type on ARM has no impact on
-msoft-float or -mhard-float, but on -mfloat-abi .

The documentation of GCC does mention neither -mhard-float nor -msoft-float as
general options nor as ARM-specific options, so I conclude that these are not
permitted.

However, the documentation of -mfpu= , where the ARM options are described,
mentions:

     If '-msoft-float' is specified this specifies the format of floating-point
values.


So apparently, -msoft-float can be passed, when gcc produces ARM-code.

Please clarify in the gcc manual if -msoft-float is the same as
-mfloat-abi=soft, if -mhard-float is the same as -mfloat-abi=hard and if these,
including -mfloag-abu=softfp are impacted by ./configure --with-float .


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

end of thread, other threads:[~2015-07-16  9:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-20 19:00 [Bug web/62211] New: ./configure --with-float= and ARM dilyan.palauzov at aegee dot org
2014-09-09 18:52 ` [Bug web/62211] " rearnsha at gcc dot gnu.org
2015-01-16 16:01 ` ramana at gcc dot gnu.org
2015-04-22 12:02 ` jakub at gcc dot gnu.org
2015-07-16  9:19 ` rguenth at gcc dot gnu.org

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