This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
soft-float support
- From: Andrew Haley <aph at redhat dot com>
- To: "Graeme Peterson" <gp at qnx dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 8 Oct 2002 19:48:44 +0100 (BST)
- Subject: soft-float support
- References: <200210081837.SAA1097762@node128.ott.qnx.com>
Graeme Peterson writes:
> Hi, all.
>
> I have done some searching, and it seems that gcc (in this case
> 2.95.3 targetting ppc-QNX6) does not have support for statically
> linked software emulated floating point instructions.
>
> Can someone clarify for me what is required to get this going? Do
> I need to implement the floating point emulation and tell gcc to
> use it in place of the fadd in the __adddf3 call? If so, how do I
> do that?
You need to specify the multilibs in your target file for qnx.
For example, in the current gcc source, gcc/config/rs6000/t-rs6000
contains
MULTILIB_OPTIONS = msoft-float
MULTILIB_DIRNAMES = soft-float
Andrew.