亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? c-wfc2.html

?? this about vxworks operations systems
?? HTML
?? 第 1 頁 / 共 2 頁
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><link rel="STYLESHEET" type="text/css" href="wrs.css"><title>    C++ Development   </title></head><body bgcolor="FFFFFF"><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a><a href="GuideIX.html"><img border="0" alt="[Index]" src="icons/index.gif"></a><a href="c-wfc.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="c-wfc1.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="c-wfc3.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p><font face="Helvetica, sans-serif" class="sans"><h3 class="H2"><i><a name="84385">5.2  &nbsp;&nbsp;C++ Development Under Tornado</a></i></h3></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84386"> </a>Basic C++ support is bundled with the Tornado development environment. VxWorks provides header files containing C++ safe declarations for all routines and the necessary run-time support. The standard Tornado interactive development tools such as the debugger, the shell, and the incremental loader include C++ support. </p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H3"><i><a name="84387">5.2.1  &nbsp;&nbsp;Tools Support</a></i></h4></font><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="84388">WindSh </a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84390"> </a>Tornado supports both C and C++ as development languages. WindSh can interpret simple C++ expressions. To exercise C++ facilities that are missing from the C-expression interpreter, you can compile and download routines that encapsulate the special C++ syntax. See the <i class="title">Tornado User's Guide: Tornado Tools Reference</i> or the HTML online reference for WindSh C++ options.</p></dl></dl><dl class="margin"><dd><font face="Helvetica, sans-serif" size="-1" class="sans"><h5 class="HU"><i><a name="84392">Demangling</a></i></h5></font><dl class="margin"><dd><p class="Body"><a name="84393"> </a>When C++ functions are compiled, the class membership (if any) and the type and number of the function's arguments are encoded in the function's linkage name. This is called <i class="term">name mangling</i> or <i class="term">mangling</i>. The debugging and system information routines in WindSh can print C++ function names in demangled or mangled representations. </p><dd><p class="Body"><a name="84395"> </a>The default representation is <b class="symbol_lc">gnu</b>. In addition, <b class="symbol_lc">arm</b> and <b class="symbol_lc">none</b> (no demangling) are available options. To select an alternate mode, modify the Tcl variable <b class="tclProc">shDemangleStyle</b>. For instance:</p><dl class="margin"><dd><pre class="Code2"><b><a name="84396"></b><tt class="output">-&gt;</tt><b> ?set shDemangleStyle none</a></b></pre></dl></dl><dd><font face="Helvetica, sans-serif" size="-1" class="sans"><h5 class="HU"><i><a name="84397">Overloaded Function Names</a></i></h5></font><dl class="margin"><dd><p class="Body"><a name="84398"> </a>When you invoke an overloaded function, WindSh prints the matching functions' signatures and prompts you for the desired function. For more information on how WindSh handles overloaded function names, including an example, see the <i class="title">Tornado User's Guide: Shell</i>.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="84400">Debugger</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84402"> </a>The Tornado debugger supports debugging of C++ class member functions including stepping through constructors and templates. For details, see the <i class="title">Tornado User's Guide: Tornado Tools Reference</i> and <i class="title">Debugging with GDB</i>.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H3"><i><a name="84404">5.2.2  &nbsp;&nbsp;Programming Issues</a></i></h4></font><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="85508">Making C++ Entry Points Accessible to C Code</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="85509"> </a>If you want to reference a (non-overloaded, global) C++ symbol from your C code you will need to give it C linkage by prototyping it using <b class="symbol_lc">extern "C"</b>:</p><dl class="margin"><dd><pre class="Code2"><b><a name="85514">#ifdef __cplusplus extern "C" void myEntryPoint (); #else void myEntryPoint (); #endif</a></b></pre></dl><dd><p class="Body"><a name="85520"> </a>You can also use this syntax to make C symbols accessible to C++ code. VxWorks C symbols are automatically available to C++ because the VxWorks header files use this mechanism for declarations.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H3"><i><a name="85507">5.2.3  &nbsp;&nbsp;Compiling C++ Applications</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84406"> </a>The Tornado project tool fully supports C++. The recommended way to configure and compile C++ applications is to use the project tool. The information below may be useful for understanding the C++ environment but unless you have a particular reason to use manual methods, you should use the methods explained in the <i class="title">Tornado User's Guide: Projects</i>.</p><dd><p class="Body"><a name="84407"> </a>For details on the GNU compiler and on the associated tools, see the <i class="title">GNU ToolKit User's Guide</i>. </p><dd><p class="Body"><a name="84408"> </a>When compiling C++ modules with the GNU compiler, invoke <b class="command">cc</b><i class="textVariable">arch</i> (just as for C source) on any source file with a C++ suffix (such as <b class="file">.cpp</b>). Compiling C++ applications in the VxWorks environment involves the following steps:</p></dl><dl class="margin"><p><ol class="List"><li value="1."><a name="84409"> </a>Each C++ source file is compiled into object code for your target architecture, just as for C applications. For example, to compile for a 68K target:</li></ol></p><dl class="margin"><dl class="margin"><dd><pre class="Code3"><b><a name="85872">cc68k -fno-builtin -I$WIND_BASE/target/h -nostdinc -O2 \     -DCPU=MC68040 -c foo.cpp cc68k -fno-builtin -I$WIND_BASE/target/h -nostdinc -O2 \     -DCPU=MC68040 -c bar.cpp</a></b></pre></dl></dl><p><ol class="List"><li value="2."><a name="84410"> </a>The objects are munched (see <a href="c-wfc2.html#84479"><i class="title">5.2.5&nbsp;Munching C++ Application Modules</i></a>). In our example:</li></ol></p><dl class="margin"><dl class="margin"><dd><pre class="Code3"><b><a name="85887">nm68k foo.o bar.o | wtxtcl $WIND_BASE/host/src/hutils/munch.tcl \     -asm 68k &gt; ctdt.c cc68k -c ctdt.c</a></b></pre></dl></dl><p><ol class="List"><li value="3."><a name="84411"> </a>The objects are linked with the compiled munch output. (They may be partially linked using <b class="command">-r</b> for downloadable applications or statically linked with a VxWorks BSP for bootable applications.) If you are using the GNU tools, invoke the linker from the compiler driver as follows:</li></ol></p><dl class="margin"><dl class="margin"><dd><pre class="Code3"><b><a name="85905">cc68k -r ctdt.o foo.o bar.o -o linkedObjs.o</a></b></pre></dl></dl><dl class="margin"><dd><div class="Indent"><a name="85907"> </a>Here we have linked two objects modules, <b class="file">foo.o</b> and <b class="file">bar.o</b>, to give a downloadable object, <b class="file">linkedObjs.o</b>. Using cc<i class="textVariable">arch</i> rather than ld<i class="textVariable">arch</i> performs template instantiation if you use the <b class="command">-frepo</b> option. (see <a href="c-wfc2.html#84565"><i class="title">5.2.7&nbsp;Template Instantiation</i></a>).</div><br></dl></dl></dl><dl class="margin"><dd><p class="table" callout><table border="0" cellpadding="0" cellspacing="0"><tr valign="top"><td valign="top" width="40"><br><img border="0" alt="*" src="icons/note.gif"></td><td><hr><div class="CalloutCell"><a name="85039"><b class="symbol_UC"><font face="Helvetica, sans-serif" size="-1" class="sans">NOTE:  </font></b></a>If you use a Wind River Systems makefile to build your application, munching is handled by <b class="command">make</b>. </div></td></tr><tr valign="top"><td></td><td><hr></td></tr><tr valign="middle"><td colspan="20"></td></tr></table></p callout><dd><p class="table" callout><table border="0" cellpadding="0" cellspacing="0"><tr valign="top"><td valign="top" width="40"><br><img border="0" alt="*" src="icons/warning.gif"></td><td><hr><div class="CalloutCell"><a name="85058"><b class="symbol_UC"><font face="Helvetica, sans-serif" size="-1" class="sans">WARNING:  </font></b></a>In the linking step, <b class="operator">-r</b> is used to specify partial linking. A partially linked file is still relocatable, and is suitable for downloading and linking using the VxWorks module loader. The <i class="title">GNU ToolKit User's Guide: Using ld</i> describes a <b class="operator">-Ur</b> option for resolving references to C++ constructors. That option is for native development, not for cross-development. Do not use <b class="operator">-Ur</b> with C++ modules for VxWorks.</div></td></tr><tr valign="top"><td></td><td><hr></td></tr><tr valign="middle"><td colspan="20"></td></tr></table></p callout></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H3"><i><a name="84436">5.2.4  &nbsp;&nbsp;Configuration Constants</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84439"> </a>By default VxWorks kernels contain the C++ run-time, basic Iostream functionality and support for the Standard Template Library. You may add/remove C++ components by including any of the following macros: </p></dl><dl class="margin"><dd><div class="Item"><a name="84441"> </a><b class="symbol_UC">INCLUDE_CPLUS</b> </div><dl class="margin"><dd><div class="Indent"><a name="84442"> </a>Includes all basic C++ run-time support in VxWorks. This enables you to download and run compiled and munched C++ modules. It does not configure any of the Wind Foundation Class libraries into VxWorks.</div><br></dl><dd><div class="Item"><a name="84444"> </a><b class="symbol_UC">INCLUDE_CPLUS_STL</b></div><dl class="margin"><dd><div class="Indent"><a name="84445"> </a>Includes support for the standard template library.</div><br></dl><dd><div class="Item"><a name="84447"> </a><b class="symbol_UC">INCLUDE_CPLUS_STRING</b></div><dl class="margin"><dd><div class="Indent"><a name="84448"> </a>Includes the basic components of the string type library.</div><br></dl><dd><div class="Item"><a name="84450"> </a><b class="symbol_UC">INCLUDE_CPLUS_IOSTREAMS</b></div><dl class="margin"><dd><div class="Indent"><a name="84451"> </a>Includes the basic components of the Iostream library.</div><br></dl><dd><div class="Item"><a name="84453"> </a><b class="symbol_UC">INCLUDE_CPLUS_COMPLEX</b></div><dl class="margin"><dd><div class="Indent"><a name="84454"> </a>Includes the basic components of the complex type library.</div><br></dl><dd><div class="Item"><a name="84456"> </a><b class="symbol_UC">INCLUDE_CPLUS_IOSTREAMS_FULL</b></div><dl class="margin"><dd><div class="Indent"><a name="84457"> </a>Includes the full Iostream library; this implies <b class="symbol_UC">INCLUDE_CPLUS_IOSTREAMS</b>.</div><br></dl><dd><div class="Item"><a name="84459"> </a><b class="symbol_UC">INCLUDE_CPLUS_STRING_IO</b></div><dl class="margin"><dd><div class="Indent"><a name="84460"> </a>Includes string I/O function; this implies <b class="symbol_UC">INCLUDE_CPLUS_STRING</b> and <b class="symbol_UC">INCLUDE_CPLUS_IOSTREAMS</b>.</div><br></dl><dd><div class="Item"><a name="84462"> </a><b class="symbol_UC">INCLUDE_CPLUS_COMPLEX_IO</b></div><dl class="margin"><dd><div class="Indent"><a name="84463"> </a>Includes I/O for complex number objects; this implies <b class="symbol_UC">INCLUDE_CPLUS_IOSTREAMS</b> and <b class="symbol_UC">INCLUDE_CPLUS_COMPLEX</b>.</div><br></dl></dl><dl class="margin"><dd><p class="Body"><a name="84464"> </a>To include one or more of the Wind Foundation Classes, include one or more of the following constants:</p></dl><dl class="margin"><dd><div class="Item"><a name="84466"> </a><b class="symbol_UC">INCLUDE_CPLUS_VXW</b></div><dl class="margin"><dd><div class="Indent"><a name="84467"> </a>Includes the VxWorks Wrapper Class library.</div><br></dl><dd><div class="Item"><a name="84469"> </a><b class="symbol_UC">INCLUDE_CPLUS_TOOLS</b></div><dl class="margin"><dd><div class="Indent"><a name="84470"> </a>Includes Rogue Wave's Tools.h++ class library.</div><br></dl></dl><dl class="margin"><dd><p class="Body"><a name="84477"> </a>For more information on configuring VxWorks, see the <i class="title">Tornado User's Guide: Projects</i>.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H3"><i><a name="84479">5.2.5  &nbsp;&nbsp;Munching C++ Application Modules</a></i></h4></font><dl class="margin"><dl class="margin">

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91精品国产91久久综合桃花| 日韩一级二级三级| 国产综合色精品一区二区三区| 中文字幕一区二区三区在线播放 | 精品一区二区三区免费视频| 亚洲一区二区视频在线| 亚洲精品日韩一| 一区二区高清在线| 亚洲黄网站在线观看| 亚洲欧洲成人自拍| 国产欧美精品一区| 国产欧美在线观看一区| 亚洲国产精品激情在线观看| 久久久另类综合| 欧美不卡一区二区三区四区| 一区二区在线观看视频在线观看| 亚洲欧美另类综合偷拍| 亚洲一区二区三区精品在线| 亚洲一线二线三线视频| 五月综合激情婷婷六月色窝| 丝袜美腿亚洲一区| 老司机精品视频导航| 国产黄色精品视频| 91激情五月电影| 欧美精品免费视频| 26uuu国产在线精品一区二区| 久久久久久亚洲综合| 亚洲国产精品精华液ab| 亚洲一区二区视频在线| 亚洲免费观看在线观看| 色综合视频在线观看| 日韩欧美一二三| 亚洲国产欧美一区二区三区丁香婷| 国产乱淫av一区二区三区| 91精品久久久久久久久99蜜臂| 亚洲欧美日韩久久| 国产成人av自拍| 精品国一区二区三区| 伦理电影国产精品| 精品欧美乱码久久久久久1区2区| 五月激情综合网| 在线播放中文一区| 久草热8精品视频在线观看| 日韩一区二区三区电影| 美女脱光内衣内裤视频久久网站| 日韩欧美精品三级| 精品一区二区三区在线观看| 2023国产一二三区日本精品2022| 国产主播一区二区| 国产精品白丝在线| 色天使色偷偷av一区二区| 亚洲国产裸拍裸体视频在线观看乱了 | 日韩在线观看一区二区| 欧美区在线观看| 韩国欧美国产1区| 国产精品毛片久久久久久久| 成人激情免费电影网址| 一区二区久久久| 精品国产网站在线观看| 成人av资源网站| 天堂va蜜桃一区二区三区漫画版| 日韩午夜激情免费电影| 91偷拍与自偷拍精品| 日本不卡不码高清免费观看| 国产日韩精品一区| 欧美日韩卡一卡二| 国产成人精品免费网站| 亚洲成人在线网站| 中文字幕欧美区| 欧美一区二区三区免费大片| www.亚洲激情.com| 另类的小说在线视频另类成人小视频在线| 欧美激情一区二区三区蜜桃视频| 精品视频色一区| 波多野结衣中文字幕一区| 日本免费在线视频不卡一不卡二| 玖玖九九国产精品| 亚洲伊人伊色伊影伊综合网| 国产精品婷婷午夜在线观看| 欧美一级一级性生活免费录像| 91在线观看地址| 福利一区二区在线观看| 老鸭窝一区二区久久精品| 亚洲一区二区三区四区在线观看 | 国产一区二区按摩在线观看| 午夜久久久久久电影| 亚洲三级久久久| 日本一区二区三区国色天香| 久久婷婷国产综合国色天香| 欧美一级欧美三级| 3atv在线一区二区三区| 欧美优质美女网站| 在线一区二区视频| 欧美亚洲一区二区三区四区| 99视频一区二区| 99久久99久久免费精品蜜臀| 91玉足脚交白嫩脚丫在线播放| 国产成人av影院| 99国内精品久久| 一本色道久久综合亚洲aⅴ蜜桃 | 亚洲欧美aⅴ...| 亚洲成人高清在线| 免费亚洲电影在线| 激情图片小说一区| 国产成人av影院| 97精品国产露脸对白| 亚洲欧美一区二区久久| 精品国产乱子伦一区| 久久日韩粉嫩一区二区三区| 国产日韩欧美制服另类| 欧美国产禁国产网站cc| 亚洲欧洲av另类| 亚洲第一综合色| 久久99热国产| 盗摄精品av一区二区三区| 欧洲视频一区二区| 精品毛片乱码1区2区3区| 中文字幕日本不卡| 五月婷婷另类国产| 精品午夜一区二区三区在线观看| 国产成人在线视频网站| 在线视频欧美精品| 亚洲国产精品99久久久久久久久 | 欧美亚一区二区| 久久综合色8888| 亚洲福利视频导航| 国产精品77777竹菊影视小说| 欧美日韩国产精选| 国产日韩欧美电影| 久久av资源网| 欧美日韩久久久| 亚洲卡通欧美制服中文| 丰满白嫩尤物一区二区| 久久综合色天天久久综合图片| 婷婷开心久久网| 日本丰满少妇一区二区三区| 国产日韩精品一区二区三区在线| 麻豆精品新av中文字幕| 欧美日韩亚洲综合在线 欧美亚洲特黄一级| 久久久久久久久久久99999| 视频一区视频二区中文| 欧美午夜在线一二页| 亚洲综合在线第一页| 99久久伊人久久99| 国产精品视频观看| 国产激情视频一区二区三区欧美| 亚洲精品一区二区三区香蕉| 日韩1区2区日韩1区2区| 欧美一区二区在线看| 亚洲综合在线电影| 在线观看视频一区二区| 一区二区三区欧美激情| 精品视频色一区| 免费在线一区观看| 久久综合狠狠综合久久综合88| 韩国精品主播一区二区在线观看| 精品日韩一区二区| 国产99久久久国产精品| 中文字幕日韩一区二区| 91成人免费在线视频| 日本中文字幕一区二区视频| 精品国产一区二区亚洲人成毛片| 国产乱码字幕精品高清av| 日本一区二区成人| 欧美网站一区二区| 久久精品99久久久| 亚洲日本一区二区| 56国语精品自产拍在线观看| 黄色日韩网站视频| 亚洲男人的天堂在线aⅴ视频| 91精品国产高清一区二区三区蜜臀 | 亚洲五月六月丁香激情| 久久综合色8888| 欧美三级中文字| 国产精品一区二区三区99| 亚洲国产欧美一区二区三区丁香婷| 久久久久久亚洲综合| 在线中文字幕不卡| 国产99精品在线观看| 日本伊人精品一区二区三区观看方式| 久久久天堂av| 日韩亚洲欧美综合| 6080国产精品一区二区| 色婷婷综合久久久| 福利电影一区二区| 久久成人久久爱| 蜜臀久久99精品久久久画质超高清| 中文字幕日韩一区| 亚洲国产激情av| 国产亚洲自拍一区| 久久亚区不卡日本| 51久久夜色精品国产麻豆| 不卡的av在线播放| 国产乱淫av一区二区三区| 日日摸夜夜添夜夜添国产精品| 椎名由奈av一区二区三区| 久久午夜色播影院免费高清| 欧美日韩视频在线第一区| 9人人澡人人爽人人精品| 五月天亚洲婷婷|