-mlong-double-* used in libgcc/config/t-* files
Zdenek Sojka
zsojka@seznam.cz
Fri Dec 16 18:43:00 GMT 2016
Hello,
tmake file libgcc/config/i386/t-linux [1] enforces -mlong-double-80 for libgcc compilation.
From my point of view, it can only cause problems:
- if you are linking with C binaries compiled with -mlong-double-80, everything is OK
- if you are linking with C binaries compiled with -mlong-double-128, the linking goes OK, but the binaries won't work, because libgcc and your binary has different "long double" size
I haven't investigated how the compiler behaves when configured with --with-long-double-128, or how C++ linking works.
What am I missing?
Thanks,
Zdenek
[1] http://repo.or.cz/official-gcc.git/blob/HEAD:/libgcc/config/i386/t-linux
More information about the Gcc-help
mailing list