Disabling the Linker (
−
c Shell Option)
4-5
Linking C Code
4.3 Disabling the Linker (
−
c Shell Option)
You can override the
−
z option by using the
−
c shell option. The
−
c option is
especially helpful if you specify the
−
z option in the C_OPTION environment
variable and want to selectively disable linking with the
−
c option on the
command line.
The
−
c linker option has a different function than, and is independent of, the
−
c shell option.
By default, the compiler uses the
−
c linker option when you use
the
−
z option. This tells the linker to use C linking conventions (autoinitializa-
tion of variables at runtime). If you want to initialize variables at load time, use
the
−
cr linker option following the
−
z option.
Summary of Contents for TMS320C2x
Page 8: ...viii...
Page 69: ...2 47 C Compiler Description...
Page 159: ...6 36...
Page 226: ...8 6...