12
-freg-struct-return
-fshort-double
-fverbose-asm
-fstack-limit-register=
-fargument-alias
-fargument-noalias-global
-ftls-model=
-ftrapv
-fwrapv
4.2. Options Controlling the Kind of Output
Compilation can involve up to four stages: preprocessing, compilation proper, assembly and linking,
always in that order. The first three stages apply to an individual source file, and end by producing an
object file; linking combines all the object files (those newly compiled, and those specified as input)
into an executable file.
For any given input file, the file name suffix determines what kind of compilation is done:
.c
file
C source code which must be preprocessed.
.i
file
C source code which should not be preprocessed.
.ii
file
C++ source code which should not be preprocessed.
.m
file
Objective-C source code. Note that you must link with the library
Objective-C program work.
.mi
file
Objective-C source code which should not be preprocessed.
.h
file
C or C++ header file to be turned into a precompiled header.
.cc
file
.cp
file
.cxx
file
.cpp
file
.CPP
file
.c++
file
.C
file
C++ source code which must be preprocessed. Note that in
be literally
. Likewise,
x
.hh
file
.H
file
C++ header file to be turned into a precompiled header.
-fshared-data
-fshort-wchar
-fpack-struct
reg
-fargument-noalias
-fleading-underscore
model
-fbounds-check
refers to a literal capital C.
.C
Chapter 4. GCC Command Options
-fshort-enums
-fstack-check
-fstack-limit-symbol=
sym
libobjc.a
, the last two letters must both
.cxx
to make an
Need help?
Do you have a question about the ENTERPRISE LINUX 3 - USING GCC and is the answer not in the manual?
Questions and answers