[Vm-dev] fdlibm is not C99 conformant

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Thu Dec 30 00:48:55 UTC 2010


>
> OK, got it, you have to compile with -D__LITTLE_ENDIAN
> This macro is set automatically in fdlibm.h when compiled ith -m32 but
> not when compiled with -m64
>
> Nicolas
>

We can add something like
  || defined(__x86_64)
in fdlibm.h

your macro definitions can be obtained via
gcc -E -dM - < /dev/null

Nicolas


More information about the Vm-dev mailing list