PR other/31400
commit9a61fba11c6ef8f8b06a09ab26bab6ec2df6eff1
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Jun 2007 22:58:37 +0000 (27 22:58 +0000)
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Jun 2007 22:58:37 +0000 (27 22:58 +0000)
treea925f05a83569d4de9cc60c8b6dcf3ff583b607b
parentafde7ac7547d055967cc8c659b67ba04aaecda9d
PR other/31400

* gcc.c (process_command): Recognize the new -static-libgfortran
option.

* lang.opt (static-libgfortran): New option.
* gfortranspec.c (ADD_ARG_LIBGFORTRAN): New macro.
(Option): Add OPTION_static and OPTION_static_libgfortran.
(lookup_option): Handle the new -static-libgfortran option.
(lang_specific_driver): Check whether -static is passed.
Handle the new -static-libgfortran option.
* options.c (gfc_handle_option): If -static-libgfortran is
passed and isn't supported on this configuration, error out.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126068 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fortran/ChangeLog
gcc/fortran/gfortranspec.c
gcc/fortran/lang.opt
gcc/fortran/options.c
gcc/gcc.c