This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Adding "soft-fp" support to a new target
- From: Ian Lance Taylor <iant at google dot com>
- To: Rathish C <Rathish dot C at kpitcummins dot com>
- Cc: "gcc-help\ at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Tue, 18 May 2010 07:21:36 -0700
- Subject: Re: Adding "soft-fp" support to a new target
- References: <371569CBCFB2E745B891DBB88B2DFDDD19CA19996A@KCINPUNHJCMS01.kpit.com>
Rathish C <Rathish.C@kpitcummins.com> writes:
> 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?
Take a look at libgcc/config.host, notably the addition of t-softfp to
tmake_file. That refers to libgcc/config/t-softfp. I don't know if
that is all that you need, but hopefully it will move you one step
forward.
Ian