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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? 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">

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人免费视频免费观看| 国产91对白在线观看九色| 久久久精品蜜桃| 一本久道中文字幕精品亚洲嫩| 日韩电影在线免费看| 国产精品成人一区二区三区夜夜夜| 欧美人妖巨大在线| 国产99精品国产| 麻豆精品在线看| 一区二区三区不卡视频| 日本一区二区三区视频视频| 91精品国产综合久久精品app| 99视频精品在线| 国产精品中文字幕一区二区三区| 午夜婷婷国产麻豆精品| 亚洲免费观看高清完整版在线 | 在线成人小视频| 99riav一区二区三区| 国产91在线看| 国内精品伊人久久久久av一坑| 日韩精品91亚洲二区在线观看| 亚洲精品你懂的| 国产视频亚洲色图| 久久免费的精品国产v∧| 日韩欧美成人一区二区| 91精品国产麻豆| 9191国产精品| 欧美日韩精品一二三区| 91久久精品国产91性色tv| 99在线热播精品免费| 丁香啪啪综合成人亚洲小说 | 欧美视频在线一区| 日本道免费精品一区二区三区| 成人av网址在线| 成人免费视频免费观看| 成人久久久精品乱码一区二区三区| 国产精品一品二品| 国产成人av电影| 成人黄色在线网站| 91首页免费视频| 色狠狠一区二区| 欧美视频中文字幕| 在线综合视频播放| 日韩片之四级片| 久久这里只有精品视频网| 久久综合九色综合久久久精品综合| 亚洲精品一区二区三区精华液| 精品福利av导航| 国产午夜一区二区三区| 国产精品麻豆99久久久久久| 中文字幕一区日韩精品欧美| 亚洲美女少妇撒尿| 婷婷国产在线综合| 另类中文字幕网| 国产成人精品免费在线| av中文一区二区三区| 91久久精品午夜一区二区| 在线播放一区二区三区| 日韩精品中午字幕| 国产精品午夜电影| 一区二区三区高清在线| 美女视频网站久久| 成人午夜激情影院| 日本韩国欧美一区| 欧美mv日韩mv国产网站app| 国产日韩欧美不卡| 亚洲一区在线观看视频| 奇米色777欧美一区二区| 国产成人在线电影| 欧美性受xxxx黑人xyx性爽| 88在线观看91蜜桃国自产| 欧美xxxxxxxx| 最新国产精品久久精品| 日韩高清不卡一区| 国产不卡在线视频| 欧美色电影在线| 久久久久久久精| 亚洲主播在线播放| 国产精品亚洲成人| 欧美日韩在线一区二区| 久久亚洲一区二区三区四区| 亚洲人成人一区二区在线观看 | 亚洲色图制服诱惑 | 黄页网站大全一区二区| 日韩精品中文字幕一区 | 亚洲精品高清在线| 久久99精品久久久久久| 色综合天天综合网国产成人综合天| 91精品在线麻豆| 最新日韩av在线| 国产伦精一区二区三区| 欧美色窝79yyyycom| 国产欧美精品一区| 秋霞影院一区二区| 欧洲一区二区三区在线| 国产欧美一区在线| 麻豆成人久久精品二区三区小说| 暴力调教一区二区三区| 欧美大胆人体bbbb| 亚洲777理论| 92国产精品观看| 国产欧美日韩在线视频| 日本不卡123| 欧美日韩亚洲高清一区二区| 国产精品欧美一区喷水| 精品一区二区影视| 欧美日韩高清一区二区| 亚洲人成网站色在线观看| 粉嫩蜜臀av国产精品网站| 欧美成人性战久久| 日韩国产精品91| 欧美亚洲日本国产| 免费视频最近日韩| 欧美性生活大片视频| 中文字幕亚洲在| 国产高清在线精品| 亚洲精品在线观看网站| 日韩成人午夜电影| 欧美欧美欧美欧美首页| 一区二区三区在线播| 91亚洲午夜精品久久久久久| 国产精品久久午夜夜伦鲁鲁| 国产精品一卡二卡在线观看| 日韩精品一区二区三区蜜臀| 日韩电影在线免费| 欧美一区二区三区视频免费播放| 亚洲午夜一二三区视频| 欧美性生活一区| 亚洲va欧美va人人爽午夜| 在线一区二区三区做爰视频网站| 国产精品美女久久久久久久| 国产精品99久久久久久久女警| 2019国产精品| 国产精品小仙女| 国产精品福利av | 欧美一区二视频| 首页亚洲欧美制服丝腿| 欧美日韩高清在线播放| 午夜亚洲国产au精品一区二区| 欧美日韩国产a| 久久精品国产精品亚洲红杏| 日韩三级中文字幕| 国产在线精品不卡| 国产视频视频一区| 97久久久精品综合88久久| 亚洲激情五月婷婷| 欧美日韩高清一区二区不卡| 美女久久久精品| 久久久久9999亚洲精品| 成人a级免费电影| 亚洲精品中文字幕在线观看| 日本高清视频一区二区| 日本不卡不码高清免费观看| 久久久久久久电影| 91视频.com| 亚洲成av人影院| 欧美大片国产精品| 大陆成人av片| ...xxx性欧美| 欧美一级久久久| 国产精品77777竹菊影视小说| 国产精品电影一区二区三区| 欧美亚洲动漫另类| 蜜桃av一区二区在线观看| 久久久国产精品午夜一区ai换脸| 成人av免费在线观看| 亚洲综合久久久久| 精品免费一区二区三区| 国产.欧美.日韩| 亚洲成人7777| 亚洲精品在线网站| 99re66热这里只有精品3直播| 三级久久三级久久| 久久亚洲一区二区三区明星换脸 | 日韩小视频在线观看专区| 国产成人自拍网| 亚洲综合成人在线视频| 精品久久久久久亚洲综合网 | 一区二区欧美视频| 在线播放中文一区| 国产精品中文字幕日韩精品| 亚洲色图欧洲色图| 欧美一级日韩不卡播放免费| 成人精品在线视频观看| 亚洲mv大片欧洲mv大片精品| 国产欧美一区二区精品秋霞影院 | 日韩美女主播在线视频一区二区三区| 韩国精品主播一区二区在线观看| 亚洲天堂成人网| 久久青草国产手机看片福利盒子| 97精品久久久久中文字幕 | 国产精品一区二区久久精品爱涩| 亚洲精品成人精品456| 久久午夜电影网| 在线看国产一区二区| 国产精品香蕉一区二区三区| 日精品一区二区| 最近中文字幕一区二区三区| 久久理论电影网| 欧美一区二区三区在|