Adding "soft-fp" support to a new target

Rathish C Rathish.C@kpitcummins.com
Mon May 17 13:09:00 GMT 2010


Hi David,

Thank you for the reply.

>  
>  Did you include soft-fp/t-softfp in tmake_file?  Please see
>  gcc/config/soft-fp/t-softfp for more details about configuring GCC to
>  use soft-fp.
>

Yes, I have also added the soft-fp/t-softfp to tmake_file.

I have defined the variables mentioned in the file 'gcc/config/soft-fp/
t-softfp' in 't-fprules-softfp' file. It is copied to the target folder 
in config directory.

But still the soft-fp routines are not getting used. Do we need to specify
any configure options to gcc? 

Also, please let me know the name of library built for soft-fp and how to
verify that the soft-fp files are compiled and linked with the gcc executable?


Thanks
Rathish.C





>  -----Original Message-----
>  From: David Edelsohn [mailto:dje.gcc@gmail.com]
>  Sent: Thursday, May 13, 2010 7:51 PM
>  To: Rathish C
>  Cc: gcc@gcc.gnu.org
>  Subject: Re: Adding "soft-fp" support to a new target
>  
>  On Thu, May 13, 2010 at 7:10 AM, Rathish C <Rathish.C@kpitcummins.com>
>  wrote:
>  > Hi,
>  >
>  > I am trying to add the soft-fp support to a new target. I have
>  > checked the implementation done in rs6000 port, and done the
>  > similar modifications to our port. I have made the following
>  > changes.
>  >
>  >  (1) Added the following files
>  >        t-fprules-softfp
>  >        sfp-machine.h
>  >
>  >  (2) Modified the file '/gcc/config.gcc'
>  >     to include the above 2 files in 'tmake_file'
>  >
>  > But still the soft-fp routines are not getting linked. The default
>  > libraries are being taken.
>  >
>  > Please suggest the additional modifications required to support
>  > the soft-fp support. Also, please let me know the name of
>  > library built for soft-fp?
>  
>  Did you include soft-fp/t-softfp in tmake_file?  Please see
>  gcc/config/soft-fp/t-softfp for more details about configuring GCC to
>  use soft-fp.
>  
>  David




More information about the Gcc mailing list