This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Adding "soft-fp" support to a new target
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: Rathish C <Rathish dot C at kpitcummins dot com>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Thu, 13 May 2010 10:21:25 -0400
- Subject: Re: Adding "soft-fp" support to a new target
- References: <371569CBCFB2E745B891DBB88B2DFDDD19CA199959@KCINPUNHJCMS01.kpit.com>
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