This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Add -static-libgfortran to gcc.c and Fortran driver


2007/5/7, François-Xavier Coudert <fxcoudert@gmail.com>:
Attached patch adds a -static-libgfortran option that links the static
libgfortran library on systems where the linker supports
-Bdynamic/-Bstatic. This is an update of my previous patch
(http://gcc.gnu.org/ml/gcc/2007-04/msg00680.html). The name of the
option was changed from -fstatic-libgfortran to -static-libgfortran
for consistency with -static-libgcc.

Great news! Thanks :)


Although I can not approve the patch, two comments below:

2007-05-07 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>

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

Please also add a reference to PR31400 to the ChangeLog.



+ /* Whether we should link a static libgfortran. */ + int static_lib = 0; + + /* Whether we need to link staticaly. */ + int static_linking = 0;

s/staticaly/statically/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]