[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: no quadmath.h on ppc64 ?



Hi Dennis,

On 04/04/2018 03:31 PM, Dennis Clarke wrote:
> 
> 
> Silly question. I tried to test a bit of _Float128 datatype stuff and so
>  I installed the only libquadmath lib I could find.
> 
> nix$ dpkg -L libquadmath0-ppc64el-cross

Are you using ppc64 or ppc64el? This package you listed should be used if you
are cross compiling, which does not seem to be the case.

> However :
> 
> nix$ gcc -mcpu=970 -mno-altivec -g -m64 -std=iso9899:1999 -o s.o s.c
> s.c:82:10: fatal error: quadmath.h: No such file or directory
>  #include <quadmath.h>

This package seems to come from GCC, where it is compiled with the following
flag:

  --disable-libquadmath   do not build libquadmath directory

I am wondering if the toolchain was compiled using this flag somehow.


Reply to: