Intel i960 User Manual page 25

Processor compiler
Hide thumbs Also See for i960:
Table of Contents

Advertisement

gcc960 Compiler Driver
The following macros are available in accordance with the ANSI standard
for C, as described in the book, C: A Reference Manual:
__DATE__
__FILE__
The following macros are predefined by the compilation system when
invoked with the gcc960 driver program:
__GCC960_VER
__i960
__i960 xx
__PIC
__PID
__LINE__
__TIME__
is defined to a decimal number that can be used
to check the version number of the compiler.
The number is expressed in decimal as
, where
is the major version number,
MmmPPPP
M
is the minor version number, and
mm
internal version number that is used to track the
patch level. So, for example, R5.0 patch level
4032 have
__GCC960_VER
5004032.
indicates the i960 processor environment. The
compiler defines
__i960
macro can be used to identify the parts of a
program specific to the i960 processor.
indicates the i960 processor instruction set in
use. The compiler automatically defines the
macro. The
__i960 xx
,
,
,
,
,
,
CF
JA
JF
JD
HA
HD
depends on the specific i960 processor
xx
instruction set specified by the
option.
indicates that the generated code is position-
independent. The
mpic
(Generate-for-position-independent-code) option
causes the
macro to be defined.
__PIC
indicates that the generated data is position-
independent. The
mpid
(Generate-for-position-independent-data) option
causes the
macro to be defined.
__PID
__STDC__
is an
PPPP
defined to be
automatically. This
is
,
,
,
,
xx
SA
SB
KA
KB
CA
, or
. Definition of
HT
RP
(Architecture)
A
2
,
2-7

Advertisement

Table of Contents
loading

Table of Contents