BBS水木清华站∶精华区
TARGET OPTIONS
By default, GNU CC compiles code for the same type of ma-
chine that you are using. However, it can also be in-
stalled as a cross-compiler, to compile for some other
type of machine. In fact, several different configura-
tions of GNU CC, for different target machines, can be in-
stalled side by side. Then you specify which one to use
with the `-b' option.
In addition, older and newer versions of GNU CC can be in-
stalled side by side. One of them (probably the newest)
will be the default, but you may sometimes wish to use an-
other.
-b machine
The argument machine specifies the target machine
for compilation. This is useful when you have in-
stalled GNU CC as a cross-compiler.
The value to use for machine is the same as was
specified as the machine type when configuring GNU
CC as a cross-compiler. For example, if a cross-
compiler was configured with `configure i386v',
meaning to compile for an 80386 running System V,
then you would specify `-b i386v' to run that cross
compiler.
When you do not specify `-b', it normally means to
compile for the same type of machine that you are
using.
-V version
The argument version specifies which version of GNU
CC to run. This is useful when multiple versions
are installed. For example, version might be
`2.0', meaning to run GNU CC version 2.0.
The default version, when you do not specify `-V',
is controlled by the way GNU CC is installed. Nor-
mally, it will be a version that is recommended for
general use.
BBS水木清华站∶精华区