[RFC] Quad-float support in Fortran
FX
fxcoudert@gmail.com
Thu Oct 28 18:01:00 GMT 2010
> -static-libgfortran:
>
> * should *not* link with static libquad, since that's LGPL rather than
> GPL+exception;
Yes.
> * should avoid a shared libquad dependency unless the program actually
> uses the __float128 facilities.
I don't know how to do that. Unless we use a compiler flag, the driver has no way of knowing whether the program uses __float128, does it?
>> -- Namespace separation in libquad (math symbols will be exported as,
>> e.g., acoshq, but the rest should be liquad_-prefixed)
>
> The shared library should also use symbol versioning with an explicit map
> showing the exact set of exported symbols. Does it?
It does not, it should.
> Also, I think a name such as libquadmath was preferred over just libquad
> (for the library at least, if not for the symbols).
> libgfortran.spec? Or maybe this code isn't needed at all, if things
> worked with the wrong name used?
Yes, it certainly looks that way.
FX
More information about the Gcc-patches
mailing list