aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJoseph Myers <jsm28@cam.ac.uk>2000-11-13 13:41:46 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2000-11-13 13:41:46 +0000
commitb9265ec1ee41f12954b2736726dcc79971b5b558 (patch)
tree67c44e92f8d88cabd2968a73bb69f5a48fb272af /gcc
parentcc1e60ea6a4e0c9b4b6c6e8283e2e2298830fd5c (diff)
downloadgcc-b9265ec1ee41f12954b2736726dcc79971b5b558.zip
gcc-b9265ec1ee41f12954b2736726dcc79971b5b558.tar.gz
gcc-b9265ec1ee41f12954b2736726dcc79971b5b558.tar.bz2
* invoke.texi: Update lists of languages and suffixes supported.
From-SVN: r37424
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/invoke.texi51
2 files changed, 53 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2e5b8d3..004b958 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
+ * invoke.texi: Update lists of languages and suffixes supported.
+
+2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
+
* configure.in: Take toplevel configure arguments from the
environment to create configargs.h and substitute
gcc_config_arguments, taking account of any existing configargs.h
diff --git a/gcc/invoke.texi b/gcc/invoke.texi
index d2ede46..1e1583e 100644
--- a/gcc/invoke.texi
+++ b/gcc/invoke.texi
@@ -551,17 +551,60 @@ C++ source code which should not be preprocessed.
Objective-C source code. Note that you must link with the library
@file{libobjc.a} to make an Objective-C program work.
+@item @var{file}.mi
+Objective-C source code which should not be preprocessed.
+
@item @var{file}.h
C header file (not to be compiled or linked).
@item @var{file}.cc
+@itemx @var{file}.cp
@itemx @var{file}.cxx
@itemx @var{file}.cpp
+@itemx @var{file}.c++
@itemx @var{file}.C
C++ source code which must be preprocessed. Note that in @samp{.cxx},
the last two letters must both be literally @samp{x}. Likewise,
@samp{.C} refers to a literal capital C.
+@item @var{file}.f
+@itemx @var{file}.for
+@itemx @var{file}.FOR
+Fortran source code which should not be preprocessed.
+
+@item @var{file}.F
+@itemx @var{file}.fpp
+@itemx @var{file}.FPP
+Fortran source code which must be preprocessed (with the traditional
+preprocessor).
+
+@item @var{file}.r
+Fortran source code which must be preprocessed with a RATFOR
+preprocessor (not included with GCC).
+
+@xref{Overall Options,,Options Controlling the Kind of Output, g77,
+Using and Porting GNU Fortran}, for more details of the handling of
+Fortran input files.
+
+@c FIXME: Descriptions of Java file types.
+@c @var{file}.java
+@c @var{file}.class
+@c @var{file}.zip
+@c @var{file}.jar
+
+@c GCC also knows about some suffixes for languages not yet included:
+@c Ada:
+@c @var{file}.ads
+@c @var{file}.adb
+@c @var{file}.ada
+@c Pascal:
+@c @var{file}.p
+@c @var{file}.pas
+
+@item @var{file}.ch
+@itemx @var{file}.chi
+CHILL source code (preprocessed with the traditional preprocessor).
+
@item @var{file}.s
Assembler code.
@@ -582,10 +625,14 @@ Specify explicitly the @var{language} for the following input files
name suffix). This option applies to all following input files until
the next @samp{-x} option. Possible values for @var{language} are:
@example
-c objective-c c++
-c-header cpp-output c++-cpp-output
+c c-header cpp-output
+c++ c++-cpp-output
+objective-c objc-cpp-output
assembler assembler-with-cpp
+f77 f77-cpp-input ratfor
+java chill
@end example
+@c Also f77-version, for internal use only.
@item -x none
Turn off any specification of a language, so that subsequent files are