[patch] Add -static-libquadmath option
FX
fxcoudert@gmail.com
Sat Oct 4 13:51:00 GMT 2014
We have a -static-libgfortran option, but on targets where we support quad-prec math through libquadmath, we didn’t have an equivalent -static-libquadmath so far. This patch adds it, in what I think is a rather straightforward manner.
The only minor complication comes from the fact that previously, linking libquadmath was conditionally through libgfortran.spec. So the spec was modified: when we use -static-libquadmath, the driver itself includes the -lquadmath (surrounded by the necessary static linking directives), so that libgfortran.spec shouldn’t do it again.
Bootstrapped and regtested on x86_64 linux. OK to commit?
FX
-------------- next part --------------
A non-text attachment was scrubbed...
Name: static_quadmath.ChangeLog
Type: application/octet-stream
Size: 824 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20141004/5a6e5a07/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: static_quadmath.diff
Type: application/octet-stream
Size: 7183 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20141004/5a6e5a07/attachment-0001.obj>
More information about the Fortran
mailing list