Red Hat ENTERPRISE LINUX 3 - USING GCC Using Instructions page 87

Using the gnu compiler collection (gcc)
Hide thumbs Also See for ENTERPRISE LINUX 3 - USING GCC:
Table of Contents

Advertisement

Chapter 4. GCC Command Options
%L
Process the
lib
command line to the linker.
%G
Process the
libgcc
be included on the command line to the linker.
%S
Process the
startfile
ones passed to the linker. Typically this might be a file named
%E
Process the
endfile
passed to the linker.
%C
Process the
cpp
%c
Process the
signed_char
It typically has the definition:
%{funsigned-char:-D__CHAR_UNSIGNED__}
%1
Process the
cc1
(
).
cc1
%2
Process the
cc1plus
compiler (
cc1plus
%*
Substitute the variable part of a matched option. See below. Note that each comma in the substi-
tuted string is replaced by a single space.
%
S
Remove all occurrences of
dent.
commands in the spec string before this one will see
%
after this one will not.
%:
(
)
function
args
Call the named function
string, then split into an argument vector in the usual fashion. The function returns a string which
is processed as if it had appeared literally as part of the current spec.
The following built-in spec functions are provided:
if-exists
The
if-exists
exists,
if-exists
*startfile:
spec. This is a spec string for deciding which libraries should be included on the
spec. This is a spec string for deciding which GCC support library should
spec. This is a spec for deciding which object files should be the first
spec. This is a spec string that specifies the last object files that will be
spec. This is used to construct the arguments to be passed to the C preprocessor.
spec. This is intended to be used to tell cpp whether a char is signed.
spec. This is used to construct the options to be passed to the actual C compiler
spec. This is used to construct the options to be passed to the actual C++
).
from the command line. Note--this command is position depen-
-S
, passing it
function
spec function takes one argument, an absolute pathname to a file. If the file
returns the pathname. Here is a small example of its usage:
crt0.o
,
commands in the spec string
-S
%
.
is first processed as a nested spec
args
args
.
81

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise linux 3

Table of Contents