This is the mail archive of the gcc-help@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]

Re: Adding "soft-fp" support to a new target


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


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