VxWorks Options (Using the GNU Compiler Collection (GCC)) (original) (raw)
3.20.53 VxWorks Options ¶
The options in this section are defined for all VxWorks targets. Options specific to the target hardware are listed with the other options for that target.
-mrtp ¶
GCC can generate code for both VxWorks kernels and real time processes (RTPs). This option switches from the former to the latter. It also defines the preprocessor macro __RTP__.
-msmp ¶
Select SMP runtimes for linking. Not available on architectures other than PowerPC, nor on VxWorks version 7 or later, in which the selection is part of the VxWorks build configuration and the library paths are the same for either choice.
-non-static ¶
Link an RTP executable against shared libraries rather than static libraries. The options -static and -shared can also be used for RTPs (see Options for Linking); -staticis the default.
-Bstatic ¶
-Bdynamic
These options are passed down to the linker. They are defined for compatibility with Diab.
-Xbind-lazy ¶
Enable lazy binding of function calls. This option is equivalent to-Wl,-z,now and is defined for compatibility with Diab.
-Xbind-now ¶
Disable lazy binding of function calls. This option is the default and is defined for compatibility with Diab.