]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/doc/gcc/gcc-command-options/machine-dependent-options/vxworks-options.rst
sphinx: add missing trailing newline
[thirdparty/gcc.git] / gcc / doc / gcc / gcc-command-options / machine-dependent-options / vxworks-options.rst
1 ..
2 Copyright 1988-2022 Free Software Foundation, Inc.
3 This is part of the GCC manual.
4 For copying conditions, see the copyright.rst file.
5
6 .. program:: VxWorks
7
8 .. index:: VxWorks Options
9
10 .. _vxworks-options:
11
12 VxWorks Options
13 ^^^^^^^^^^^^^^^
14
15 The options in this section are defined for all VxWorks targets.
16 Options specific to the target hardware are listed with the other
17 options for that target.
18
19 .. option:: -mrtp
20
21 GCC can generate code for both VxWorks kernels and real time processes
22 (RTPs). This option switches from the former to the latter. It also
23 defines the preprocessor macro ``__RTP__``.
24
25 .. option:: -non-static
26
27 Link an RTP executable against shared libraries rather than static
28 libraries. The options :option:`-static` and :option:`-shared` can
29 also be used for RTPs (see :ref:`link-options`); :option:`-static`
30 is the default.
31
32 .. option:: -Bstatic, -Bdynamic
33
34 These options are passed down to the linker. They are defined for
35 compatibility with Diab.
36
37 .. option:: -Xbind-lazy
38
39 Enable lazy binding of function calls. This option is equivalent to
40 :option:`-Wl,-z,now` and is defined for compatibility with Diab.
41
42 .. option:: -Xbind-now
43
44 Disable lazy binding of function calls. This option is the default and
45 is defined for compatibility with Diab.