aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorDaniel Franke <franke.daniel@gmail.com>2007-07-12 16:28:57 -0400
committerDaniel Franke <dfranke@gcc.gnu.org>2007-07-12 16:28:57 -0400
commit70263321170abf8049fca8451522e1c42a0fc415 (patch)
treebff031bc8e42f10c497f0fa5e59b99d6da27ab1f /gcc/fortran
parent5fb70d2ea4d8e2ffb40dbb10369159e2aae1bcd1 (diff)
downloadgcc-70263321170abf8049fca8451522e1c42a0fc415.zip
gcc-70263321170abf8049fca8451522e1c42a0fc415.tar.gz
gcc-70263321170abf8049fca8451522e1c42a0fc415.tar.bz2
re PR fortran/32704 (-static-libgfortran is undocumented)
2007-07-12 Daniel Franke <franke.daniel@gmail.com> PR fortran/32704 * invoke.texi (-static-libgfortran): Document new option. From-SVN: r126601
Diffstat (limited to 'gcc/fortran')
-rw-r--r--gcc/fortran/ChangeLog5
-rw-r--r--gcc/fortran/invoke.texi27
2 files changed, 31 insertions, 1 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 79f646d..5ec90d2 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,8 @@
+2007-07-12 Daniel Franke <franke.daniel@gmail.com>
+
+ PR fortran/32704
+ * invoke.texi (-static-libgfortran): Document new option.
+
2007-07-12 Paul Thomas <pault@gcc.gnu.org>
PR fortran/32634
diff --git a/gcc/fortran/invoke.texi b/gcc/fortran/invoke.texi
index 0cb701e..9fb9cfb 100644
--- a/gcc/fortran/invoke.texi
+++ b/gcc/fortran/invoke.texi
@@ -97,6 +97,7 @@ one is not the default.
* Error and Warning Options:: How picky should the compiler be?
* Debugging Options:: Symbol tables, measurements, and debugging dumps.
* Directory Options:: Where to find module files
+* Link Options :: Influencing the linking step
* Runtime Options:: Influencing runtime behavior
* Code Gen Options:: Specifying conventions for function calls, data layout
and register usage.
@@ -140,6 +141,10 @@ and Warnings}.
@xref{Directory Options,,Options for Directory Search}.
@gccoptlist{-I@var{dir} -J@var{dir} -M@var{dir} -fintrinsic-modules-path @var{dir}}
+@item Link Options
+@xref{Link Options,,Options for influencing the linking step}.
+@gccoptlist{-static-libgfortran}
+
@item Runtime Options
@xref{Runtime Options,,Options for influencing runtime behavior}.
@gccoptlist{-fconvert=@var{conversion} -frecord-marker=@var{length} @gol
@@ -160,6 +165,7 @@ and Warnings}.
* Error and Warning Options:: How picky should the compiler be?
* Debugging Options:: Symbol tables, measurements, and debugging dumps.
* Directory Options:: Where to find module files
+* Link Options :: Influencing the linking step
* Runtime Options:: Influencing runtime behavior
* Code Gen Options:: Specifying conventions for function calls, data layout
and register usage.
@@ -616,8 +622,27 @@ This option specifies the location of pre-compiled intrinsic modules, if
they are not in the default location expected by the compiler.
@end table
+@node Link Options
+@section Influencing the Linking Step
+@cindex options, linking
+@cindex linking, static
+
+These options come into play when the compiler links object files into an
+executable output file. They are meaningless if the compiler is not doing
+a link step.
+
+@table @gcctabopt
+@item -static-libgfortran
+@opindex @code{static-libgfortran}
+On systems that provide @file{libgfortran} as a shared and a static
+library, this option forces the use of the static version. If no
+shared version of @file{libgfortran} was built when the compiler was
+configured, this option has no effect.
+@end table
+
+
@node Runtime Options
-@section Influencing runtime behavior
+@section Influencing Runtime Behavior
@cindex options, runtime
These options affect the runtime behavior of programs compiled with GNU Fortran.