[RFC] Quad-float support in Fortran
Joseph S. Myers
joseph@codesourcery.com
Thu Oct 28 12:54:00 GMT 2010
On Wed, 27 Oct 2010, FX wrote:
> -- The patch breaks -static-libgfortran, which needs to be
> reimplemented inside the spec file (probably a one-liner)
I don't know what you mean by breaks, but as per yesterday's IRC
discussion -static-libgfortran:
* should *not* link with static libquad, since that's LGPL rather than
GPL+exception;
* should avoid a shared libquad dependency unless the program actually
uses the __float128 facilities.
> -- 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?
Also, I think a name such as libquadmath was preferred over just libquad
(for the library at least, if not for the symbols).
> +# Create a spec file, so that compile/link tests don't fail
> +test -f libgcj.spec || touch libgcj.spec
libgfortran.spec? Or maybe this code isn't needed at all, if things
worked with the wrong name used?
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Fortran
mailing list