fpcls on arm.

David Friedman dvdfrdmn at users.ess-eff.net
Mon Jul 14 04:45:22 PDT 2008


Stagiaire Baptiste et Sandrine wrote:
> Hi,
> 
> I'm working on a D crosscompiler targetting arm cellphone running wince and 
> I get some trouble with the compilation of the phobos library. It cannot find
> the module gcc.config.fpcls.
> 
> In the configure script of phobos it appears that for some target the variable
> d_use_ieee_fpsb is set. What does fpsb stand for and can we add arm on the list
> of supported cpu ?
> 
> 


In the phobos configure.in script, look for this section:

case "$target_cpu" in
     i*86|powerpc*|ppc*|x86_64 ) d_use_ieee_fpsb=1 ;;
     *) d_use_ieee_fpsb=0 ;;
esac


Change the second line to this:

     i*86|powerpc*|ppc*|x86_64|arm* ) d_use_ieee_fpsb=1 ;;

If you don't have autoconf, you can directly edit "configure".

"fpsb" stands for "fpclass()/signbit()"

David


More information about the D.gnu mailing list