4 This file is processed by the bin/SConsDoc.py module.
5 See its __doc__ string for a discussion of the format.
9 Set construction variables for generic POSIX Fortran 77 compilers.
43 The Fortran 77 compiler.
44 You should normally set the &cv-link-FORTRAN; variable,
45 which specifies the default Fortran compiler
46 for all Fortran versions.
47 You only need to set &cv-link-F77; if you need to use a specific compiler
48 or compiler version for Fortran 77 files.
54 The command line used to compile a Fortran 77 source file to an object file.
55 You only need to set &cv-link-F77COM; if you need to use a specific
56 command line for Fortran 77 files.
57 You should normally set the &cv-link-FORTRANCOM; variable,
58 which specifies the default command line
59 for all Fortran versions.
63 <cvar name="F77COMSTR">
65 The string displayed when a Fortran 77 source file
66 is compiled to an object file.
67 If this is not set, then &cv-link-F77COM; or &cv-link-FORTRANCOM;
68 (the command line) is displayed.
72 <cvar name="F77FLAGS">
74 General user-specified options that are passed to the Fortran 77 compiler.
75 Note that this variable does
76 <emphasis>not</emphasis>
79 (or similar) include search path options
80 that scons generates automatically from &cv-link-F77PATH;.
82 &cv-link-_F77INCFLAGS;
84 for the variable that expands to those options.
85 You only need to set &cv-link-F77FLAGS; if you need to define specific
86 user options for Fortran 77 files.
87 You should normally set the &cv-link-FORTRANFLAGS; variable,
88 which specifies the user-specified options
89 passed to the default Fortran compiler
90 for all Fortran versions.
94 <cvar name="_F77INCFLAGS">
96 An automatically-generated construction variable
97 containing the Fortran 77 compiler command-line options
98 for specifying directories to be searched for include files.
99 The value of &cv-link-_F77INCFLAGS; is created
100 by appending &cv-link-INCPREFIX; and &cv-link-INCSUFFIX;
101 to the beginning and end
102 of each directory in &cv-link-F77PATH;.
106 <cvar name="F77PATH">
108 The list of directories that the Fortran 77 compiler will search for include
109 directories. The implicit dependency scanner will search these
110 directories for include files. Don't explicitly put include directory
111 arguments in &cv-link-F77FLAGS; because the result will be non-portable
112 and the directories will not be searched by the dependency scanner. Note:
113 directory names in &cv-link-F77PATH; will be looked-up relative to the SConscript
114 directory when they are used in a command. To force
116 to look-up a directory relative to the root of the source tree use #:
117 You only need to set &cv-link-F77PATH; if you need to define a specific
118 include path for Fortran 77 files.
119 You should normally set the &cv-link-FORTRANPATH; variable,
120 which specifies the include path
121 for the default Fortran compiler
122 for all Fortran versions.
125 env = Environment(F77PATH='#/include')
128 The directory look-up can also be forced using the
133 include = Dir('include')
134 env = Environment(F77PATH=include)
137 The directory list will be added to command lines
138 through the automatically-generated
139 &cv-link-_F77INCFLAGS;
140 construction variable,
141 which is constructed by
142 appending the values of the
143 &cv-link-INCPREFIX; and &cv-link-INCSUFFIX;
144 construction variables
145 to the beginning and end
146 of each directory in &cv-link-F77PATH;.
147 Any command lines you define that need
148 the F77PATH directory list should
149 include &cv-link-_F77INCFLAGS;:
152 env = Environment(F77COM="my_compiler $_F77INCFLAGS -c -o $TARGET $SOURCE")
157 <cvar name="F77PPCOM">
159 The command line used to compile a Fortran 77 source file to an object file
160 after first running the file through the C preprocessor.
161 Any options specified in the &cv-link-F77FLAGS; and &cv-link-CPPFLAGS; construction variables
162 are included on this command line.
163 You only need to set &cv-link-F77PPCOM; if you need to use a specific
164 C-preprocessor command line for Fortran 77 files.
165 You should normally set the &cv-link-FORTRANPPCOM; variable,
166 which specifies the default C-preprocessor command line
167 for all Fortran versions.
171 <cvar name="F77PPCOMSTR">
173 The string displayed when a Fortran 77 source file
174 is compiled to an object file
175 after first running the file through the C preprocessor.
176 If this is not set, then &cv-link-F77PPCOM; or &cv-link-FORTRANPPCOM;
177 (the command line) is displayed.
183 The Fortran 77 compiler used for generating shared-library objects.
184 You should normally set the &cv-link-SHFORTRAN; variable,
185 which specifies the default Fortran compiler
186 for all Fortran versions.
187 You only need to set &cv-link-SHF77; if you need to use a specific compiler
188 or compiler version for Fortran 77 files.
192 <cvar name="SHF77COM">
194 The command line used to compile a Fortran 77 source file
195 to a shared-library object file.
196 You only need to set &cv-link-SHF77COM; if you need to use a specific
197 command line for Fortran 77 files.
198 You should normally set the &cv-link-SHFORTRANCOM; variable,
199 which specifies the default command line
200 for all Fortran versions.
204 <cvar name="SHF77COMSTR">
206 The string displayed when a Fortran 77 source file
207 is compiled to a shared-library object file.
208 If this is not set, then &cv-link-SHF77COM; or &cv-link-SHFORTRANCOM;
209 (the command line) is displayed.
213 <cvar name="SHF77FLAGS">
215 Options that are passed to the Fortran 77 compiler
216 to generated shared-library objects.
217 You only need to set &cv-link-SHF77FLAGS; if you need to define specific
218 user options for Fortran 77 files.
219 You should normally set the &cv-link-SHFORTRANFLAGS; variable,
220 which specifies the user-specified options
221 passed to the default Fortran compiler
222 for all Fortran versions.
226 <cvar name="SHF77PPCOM">
228 The command line used to compile a Fortran 77 source file to a
229 shared-library object file
230 after first running the file through the C preprocessor.
231 Any options specified in the &cv-link-SHF77FLAGS; and &cv-link-CPPFLAGS; construction variables
232 are included on this command line.
233 You only need to set &cv-link-SHF77PPCOM; if you need to use a specific
234 C-preprocessor command line for Fortran 77 files.
235 You should normally set the &cv-link-SHFORTRANPPCOM; variable,
236 which specifies the default C-preprocessor command line
237 for all Fortran versions.
241 <cvar name="SHF77PPCOMSTR">
243 The string displayed when a Fortran 77 source file
244 is compiled to a shared-library object file
245 after first running the file through the C preprocessor.
246 If this is not set, then &cv-link-SHF77PPCOM; or &cv-link-SHFORTRANPPCOM;
247 (the command line) is displayed.