Adding "soft-fp" support to a new target
Ian Lance Taylor
iant@google.com
Tue May 18 14:29:00 GMT 2010
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
More information about the Gcc-help
mailing list