Passing Options To The Assembler; Options For Linking - Red Hat ENTERPRISE LINUX 3 - USING GCC Using Instructions

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

Advertisement

72
-help
-target-help
Print text describing all the command line options instead of preprocessing anything.
-v
Verbose mode. Print out GNU CPP's version number at the beginning of execution, and report
the final form of the include path.
-H
Print the name of each header file used, in addition to other normal activities. Each name is
indented to show how deep in the
even if they are found to be invalid; an invalid precompiled header file is printed with
a valid one with
-version
-version
Print out GNU CPP's version number. With one dash, proceed to preprocess as normal. With
two dashes, exit immediately.

4.12. Passing Options to the Assembler

You can pass options to the assembler.
-Wa,
option
Pass
as an option to the assembler. If
option
options at the commas.
-Xassembler
option
Pass
as an option to the assembler. You can use this to supply system-specific assembler
option
options which GCC does not know how to recognize.
If you want to pass an option that takes an argument, you must use
for the option and once for the argument.

4.13. Options for Linking

These options come into play when the compiler links object files into an executable output file. They
are meaningless if the compiler is not doing a link step.
object-file-name
A file name that does not end in a special recognized suffix is considered to name an object file or
library. (Object files are distinguished from libraries by the linker according to the file contents.)
If linking is done, these object files are used as input to the linker.
-c
-S
-E
If any of these options is used, then the linker is not run, and object file names should not be
used as arguments. Refer to Section 4.2 Options Controlling the Kind of Output.
#include
.
...!
Chapter 4. GCC Command Options
stack it is. Precompiled header files are also printed,
contains commas, it is split into multiple
option
...x
twice, once
-Xassembler
and

Advertisement

Table of Contents
loading
Need help?

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

This manual is also suitable for:

Enterprise linux 3

Table of Contents