1<html lang="en"> 2<head> 3<title>VxWorks Options - Using the GNU Compiler Collection (GCC)</title> 4<meta http-equiv="Content-Type" content="text/html"> 5<meta name="description" content="Using the GNU Compiler Collection (GCC)"> 6<meta name="generator" content="makeinfo 4.13"> 7<link title="Top" rel="start" href="index.html#Top"> 8<link rel="up" href="Submodel-Options.html#Submodel-Options" title="Submodel Options"> 9<link rel="prev" href="VMS-Options.html#VMS-Options" title="VMS Options"> 10<link rel="next" href="x86_002d64-Options.html#x86_002d64-Options" title="x86-64 Options"> 11<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage"> 12<!-- 13Copyright (C) 1988-2013 Free Software Foundation, Inc. 14 15Permission is granted to copy, distribute and/or modify this document 16under the terms of the GNU Free Documentation License, Version 1.3 or 17any later version published by the Free Software Foundation; with the 18Invariant Sections being ``Funding Free Software'', the Front-Cover 19Texts being (a) (see below), and with the Back-Cover Texts being (b) 20(see below). A copy of the license is included in the section entitled 21``GNU Free Documentation License''. 22 23(a) The FSF's Front-Cover Text is: 24 25 A GNU Manual 26 27(b) The FSF's Back-Cover Text is: 28 29 You have freedom to copy and modify this GNU Manual, like GNU 30 software. Copies published by the Free Software Foundation raise 31 funds for GNU development.--> 32<meta http-equiv="Content-Style-Type" content="text/css"> 33<style type="text/css"><!-- 34 pre.display { font-family:inherit } 35 pre.format { font-family:inherit } 36 pre.smalldisplay { font-family:inherit; font-size:smaller } 37 pre.smallformat { font-family:inherit; font-size:smaller } 38 pre.smallexample { font-size:smaller } 39 pre.smalllisp { font-size:smaller } 40 span.sc { font-variant:small-caps } 41 span.roman { font-family:serif; font-weight:normal; } 42 span.sansserif { font-family:sans-serif; font-weight:normal; } 43--></style> 44<link rel="stylesheet" type="text/css" href="../cs.css"> 45</head> 46<body> 47<div class="node"> 48<a name="VxWorks-Options"></a> 49<p> 50Next: <a rel="next" accesskey="n" href="x86_002d64-Options.html#x86_002d64-Options">x86-64 Options</a>, 51Previous: <a rel="previous" accesskey="p" href="VMS-Options.html#VMS-Options">VMS Options</a>, 52Up: <a rel="up" accesskey="u" href="Submodel-Options.html#Submodel-Options">Submodel Options</a> 53<hr> 54</div> 55 56<h4 class="subsection">3.17.48 VxWorks Options</h4> 57 58<p><a name="index-VxWorks-Options-2314"></a> 59The options in this section are defined for all VxWorks targets. 60Options specific to the target hardware are listed with the other 61options for that target. 62 63 <dl> 64<dt><code>-mrtp</code><dd><a name="index-mrtp-2315"></a>GCC can generate code for both VxWorks kernels and real time processes 65(RTPs). This option switches from the former to the latter. It also 66defines the preprocessor macro <code>__RTP__</code>. 67 68 <br><dt><code>-non-static</code><dd><a name="index-non_002dstatic-2316"></a>Link an RTP executable against shared libraries rather than static 69libraries. The options <samp><span class="option">-static</span></samp> and <samp><span class="option">-shared</span></samp> can 70also be used for RTPs (see <a href="Link-Options.html#Link-Options">Link Options</a>); <samp><span class="option">-static</span></samp> 71is the default. 72 73 <br><dt><code>-Bstatic</code><dt><code>-Bdynamic</code><dd><a name="index-Bstatic-2317"></a><a name="index-Bdynamic-2318"></a>These options are passed down to the linker. They are defined for 74compatibility with Diab. 75 76 <br><dt><code>-Xbind-lazy</code><dd><a name="index-Xbind_002dlazy-2319"></a>Enable lazy binding of function calls. This option is equivalent to 77<samp><span class="option">-Wl,-z,now</span></samp> and is defined for compatibility with Diab. 78 79 <br><dt><code>-Xbind-now</code><dd><a name="index-Xbind_002dnow-2320"></a>Disable lazy binding of function calls. This option is the default and 80is defined for compatibility with Diab. 81</dl> 82 83 </body></html> 84 85