ic960 Compiler Driver
3-43
3
Examples
1. The following example aligns structures on 8-byte boundaries:
ic960 -Gac=8 proto.c
2. The following example generates a module that can be linked with
code resulting from an ic960 Release 2.0 translation:
ic960 -Gbc proto.c
3. The following example generates code in which variables declared as
char are treated as unsigned char:
ic960 -Gcu proto.c
4. The following example generates position-independent code and data:
ic960 -Gpc,pd proto.c
Related Topics
A (Architecture)
I960ARCH
__i960
xx
__PIC
__PID
#pragma align
#pragma i960_align
g (Debug)
Include debug
information in object
module.
g [
level
]
where
level
specifies the amount of debug information. Note that the
meaning of level varies depending on the object format in use, as
described below.
Using
g0 disables debug information. (This is the same as not using the
g option.)