Chapter 4. GCC Command Options
.f
file
.for
file
.FOR
file
Fortran source code which should not be preprocessed.
.F
file
.fpp
file
.FPP
file
Fortran source code which must be preprocessed (with the traditional preprocessor).
.r
file
Fortran source code which must be preprocessed with a RATFOR preprocessor (not included
with GCC).
, for more details of the handling of Fortran input files.
.ads
file
Ada source code file which contains a library unit declaration (a declaration of a package, sub-
program, or generic, or a generic instantiation), or a library unit renaming declaration (a package,
generic, or subprogram renaming declaration). Such files are also called specs.
.adb
file
Ada source code file containing a library unit body (a subprogram or package body). Such files
are also called bodies.
.s
file
Assembler code.
.S
file
Assembler code which must be preprocessed.
other
An object file to be fed straight into linking. Any file name with no recognized suffix is treated
this way.
You can specify the input language explicitly with the
-x
language
Specify explicitly the
choose a default based on the file name suffix). This option applies to all following input files
until the next
-x
c
c-header
c++
c++-header
objective-c
assembler
assembler-with-cpp
ada
f77
f77-cpp-input
java
treelang
-x none
Turn off any specification of a language, so that subsequent files are handled according to their
file name suffixes (as they are if
for the following input files (rather than letting the compiler
language
option. Possible values for
cpp-output
c++-cpp-output
objective-c-header
ratfor
has not been used at all).
-x
option:
-x
are:
language
objc-cpp-output
17
Need help?
Do you have a question about the ENTERPRISE LINUX 4 and is the answer not in the manual?
Questions and answers