This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

soft-float support


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]