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

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

?? compiling.html

?? PTypes (C++ Portable Types Library) is a simple alternative to the STL that includes multithreading
?? HTML
字號:
<html><!-- #BeginTemplate "/Templates/tmpl.dwt" --><head><!-- #BeginEditable "doctitle" --> <title>PTypes: Compiling and Porting</title><!-- #EndEditable --> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><link rel="stylesheet" href="styles.css"></head><body bgcolor="#FFFFFF" leftmargin="40" marginwidth="40"><p><a href="../index.html"><img src="title-1.7.gif" width="213" height="34" alt="C++ Portable Types Library (PTypes) Version 1.7" border="0"></a> <hr noshade><!-- #BeginEditable "body" --> <p class="hpath"><a href="index.html">Top</a>: <a href="intro.html">Introduction</a>: Compiling and Porting</p><p><br><b>Supported platforms and compilers</b></p><blockquote> <p><b>Windows</b>: MSVC, BCC</p><p><b>FreeBSD</b>: GCC</p><p><b>Linux/i386, Alpha, PPC, Sparc</b>: GCC</p><p><b>SunOS/Sparc</b>: GCC</p><p><b>MacOS X/PPC (Darwin)</b>: CC - Apple Objective-C compiler</p></blockquote><p><b><br>Building on Unix</b></p><blockquote> <p>In order to build the library on one of the Unix systems listed above, run <span class="lang">make</span> in the library's root directory. The makefile in this directory actually calls makefiles in <span class="lang">src/</span> and <span class="lang">wshare/</span> with a suffix which is an output of <span class="lang">uname</span> on the given system (e.g. <span class="lang">src/Makefile.Linux</span> or <span class="lang">src/Makefile.FreeBSD</span>). Make will build the library and the demo program, and will then copy the static version of the library as <span class="lang">lib/libptypes.a</span>, the shared object version as <span class="lang">so/libptypes.so</span> (<span class="lang">so/libptypes.dylib</span> on MacOS) and the demo program as <span class="lang">bin/wshare</span>. </p><p>The public headers are in <span class="lang">include/</span>.</p><p>When building your own multithreaded application on <b>Linux</b> or <b>FreeBSD</b>, GCC requires you to specify a special command-line option <span class="lang">-pthread</span> which will automatically link POSIX threads library and the multithreaded version of libc. On <b>Linux</b> you should specify a macro <span class="lang">-D_GNU_SOURCE</span> in the command line to include the <span class="lang">rwlock</span> interface.</p><p>When building your multithreaded application on <b>SunOS</b>, you should specify a macro <span class="lang">-D_REENTRANT</span> and also link the following libraries: <span class="lang">-lpthread -lposix4</span> for multithreaded applications, and in addition, <span class="lang">-lsocket -lnsl</span> for network applications. <i>NOTE</i>: if you omit <span class="lang">-lpthread</span>, the program links without errors, but then the thread objects fail to initialize.</p><p>There is a <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=595502&group_id=56008&atid=493273">known problem</a> on Linux with GCC 2.96: multithreaded applications may crash when running many threads and intensively using dynamic memory allocation. It is recommended to compile such projects with GCC 2.95.</p></blockquote><p><b><br>Building on Windows (MSVC or BCC)</b></p><blockquote> <p><b>MSVC</b>: The MSVC project files are named <span class="lang">win32\PTypes_Lib.dsp</span> and <span class="lang">win32\PTypes_DLL.dsp</span> for the static and the dynamic versions of the library respectively. You can include one of these project files in your workspace. Make your project dependent of PTypes - this will automatically link the library to your program. To use PTypes headers you will have to explicitly specify the directory in your project settings, e.g. &quot;<span class="lang">..\ptypes\include</span>&quot;.</p><p>In order to link a program to the DLL version of PTypes use <span class="lang">PTYPES_DLL</span> macro definition when compiling your modules. You may want to add a post-build command in the MSVC environment that copies the PTypes DLL to the directory where you build and debug your own application, since otherwise your program won't be able to find the DLL module.</p><p>You should link your application with the multithreaded version of CRTL. When compiling with the dynamic version of PTypes, it is recommended also to use the DLL version of CRTL.</p><p>Specify an additional library <span class="lang">ws2_32.lib</span> if you are using PTypes' IP socket classes.</p><p><b>BCC</b>: The makefile for Borland's C/C++ compiler (aka C++Builder) is <span class="lang">src\ptypes.mak</span>. You will need tasm32.exe since some modules contain assembly code which BCC compiles using an external assembler. The BCC makefile for wshare is <span class="lang">wshare\wshare.mak</span>.</p></blockquote><p><b><br>PTypes namespace</b></p><blockquote> <p>The entire PTypes interface is enclosed within a namespace called <span class="lang">pt</span>. The header file <span class="lang">&lt;pport.h&gt;</span> provides a macro <span class="lang">USING_PTYPES</span>, which is equivalent to <span class="lang">using namespace pt</span>. This macro allows you to use PTypes interface symbols without the scope specifier <span class="lang">pt::</span> in your source code. See, for example, <span class="lang">src/ptypes_test.cxx</span>.</p></blockquote><p><b><br>Porting the library to other platforms</b></p><blockquote> <p>The author would greatly appreciate any effort to port the library to other popular platforms. If you either ported the library or just found that PTypes builds with no problem under your favorite platform with your favorite compiler, then all you'd have to do is to create a makefile with proper definitions in it. Take a look at <span class="lang">Makefile.FreeBSD</span> or <span class="lang">Makefile.SunOS</span>, for example. Besides <span class="lang">CXXOPTS</span> you can specify additional libraries through <span class="lang">LDLIBS</span>. Name your makefile so that running <span class="lang">make Makefile.`uname`</span> would work on the given operating system. Try to build the library and then run <span class="lang">src/ptypes_test</span> to make sure the library is functioning properly. </p><p>And finally, if you send the changes to the author, then (obviously) others would be able to benefit from using PTypes on your favorite operating system with your favorite compiler.</p></blockquote><p class="seealso">See also: <a href="deploying.html">Deploying the shared (dynamic) library</a></p><!-- #EndEditable --> <hr size="1"><a href="../index.html" class="ns">PTypes home</a></body><!-- #EndTemplate --></html>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩免费福利电影在线观看| 不卡一区二区三区四区| 专区另类欧美日韩| 国产欧美日韩综合| 中文字幕第一区二区| 国产欧美日韩不卡| 国产精品污www在线观看| 日本一区二区免费在线| 国产精品久久久久久亚洲毛片| 欧美国产1区2区| 亚洲欧美激情插| 午夜亚洲国产au精品一区二区| 日韩电影一区二区三区| 狠狠色丁香久久婷婷综| 国产一区二区美女诱惑| 波多野结衣在线一区| 色视频一区二区| 6080午夜不卡| 精品国产伦一区二区三区观看方式| 久久影院午夜论| 亚洲乱码日产精品bd| 五月婷婷色综合| 国产中文字幕精品| 99久久夜色精品国产网站| 欧美日韩国产小视频| 26uuu成人网一区二区三区| 国产精品女上位| 91小视频免费观看| 国产精品99久久不卡二区| 成人午夜精品在线| 91国偷自产一区二区三区成为亚洲经典| 欧美中文字幕一区| 日韩视频一区二区三区| 国产精品电影院| 午夜欧美电影在线观看| 成人免费观看av| 欧美午夜在线观看| 国产欧美综合在线| 午夜在线电影亚洲一区| 国产成人免费在线| 777色狠狠一区二区三区| 国产欧美日韩久久| 日韩成人午夜精品| av毛片久久久久**hd| 制服丝袜激情欧洲亚洲| 一区二区中文视频| 99久久精品国产网站| 99精品视频在线播放观看| 91精品国产综合久久精品麻豆| 国产精品素人一区二区| 日本不卡在线视频| 色噜噜狠狠色综合中国| 国产精品久久久久久久午夜片| 美女视频黄频大全不卡视频在线播放 | 另类小说视频一区二区| 色婷婷久久一区二区三区麻豆| 欧美一区二区三区四区视频| 一区二区三区美女| www.亚洲激情.com| 国产欧美一区二区精品性色| 捆绑紧缚一区二区三区视频| 欧美日韩在线播| 亚洲午夜久久久| 色一情一伦一子一伦一区| 国产精品亲子伦对白| 国产精品一区在线观看乱码 | 久久精品免视看| 久久精品国产精品青草| 欧美大胆人体bbbb| 麻豆91小视频| 精品美女一区二区三区| 麻豆精品在线看| 日韩欧美成人一区| 久久超碰97人人做人人爱| 欧美一级日韩免费不卡| 日本免费在线视频不卡一不卡二| 欧美日韩精品三区| 麻豆成人免费电影| 中文字幕乱码久久午夜不卡| 国产欧美精品国产国产专区| 热久久一区二区| 欧美精品电影在线播放| 日韩电影在线一区二区| 欧美蜜桃一区二区三区| 亚洲一区二区三区中文字幕 | 欧美顶级少妇做爰| 国产在线精品免费| 日韩三级av在线播放| 国产原创一区二区三区| 欧美激情艳妇裸体舞| 成人做爰69片免费看网站| 亚洲日本欧美天堂| 欧美老年两性高潮| 在线观看视频一区二区| 亚洲美女屁股眼交3| 99久久精品国产观看| 国产精品第四页| 欧美色倩网站大全免费| 日本色综合中文字幕| 国产午夜亚洲精品羞羞网站| 99久免费精品视频在线观看| 亚洲18色成人| 国产视频一区二区在线| 欧洲激情一区二区| 韩国视频一区二区| 亚洲欧美另类综合偷拍| 日韩精品一区二区三区在线观看| 成人自拍视频在线观看| 亚洲国产va精品久久久不卡综合| 欧美精品一区二| 欧美日韩在线一区二区| 国产精品综合网| 亚洲国产精品人人做人人爽| 久久精品男人的天堂| 欧美老女人在线| 91丨porny丨首页| 精品综合久久久久久8888| 亚洲欧美国产毛片在线| 久久久精品免费免费| 欧美人牲a欧美精品| www.欧美色图| 国产真实乱子伦精品视频| 亚洲一区二区三区四区中文字幕| 日韩精品一区二区三区老鸭窝| 色哟哟一区二区三区| 国产美女精品人人做人人爽 | 91精品在线一区二区| 99免费精品在线观看| 久久99久久99| 日本欧美在线看| 亚洲自拍偷拍图区| 亚洲色图色小说| 日本一区二区不卡视频| 精品日韩一区二区三区| 在线不卡的av| 欧美中文字幕一区二区三区 | 色综合久久88色综合天天免费| 美女久久久精品| 亚洲成av人影院在线观看网| 中文字幕一区二区日韩精品绯色| 久久综合色一综合色88| 日韩欧美专区在线| 欧美一区二区女人| 日韩欧美国产综合一区| 欧美一区二区三区四区在线观看 | 亚洲人成网站在线| 国产精品你懂的在线欣赏| 国产视频一区二区在线观看| 久久久青草青青国产亚洲免观| 日韩一区二区三免费高清| 7777精品伊人久久久大香线蕉经典版下载 | 一区二区国产盗摄色噜噜| 国产精品久久久久四虎| 最好看的中文字幕久久| 国产精品第四页| 亚洲自拍偷拍图区| 日韩成人一区二区| 久久99精品一区二区三区| 国产在线精品免费| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 视频在线在亚洲| 日产精品久久久久久久性色| 日本特黄久久久高潮| 久久丁香综合五月国产三级网站| 久久成人18免费观看| 国产高清视频一区| 91香蕉视频黄| 欧美精品在线一区二区三区| 日韩一区二区免费在线电影| 久久婷婷成人综合色| 国产精品久久久久久久久免费桃花| 1区2区3区欧美| 亚洲成精国产精品女| 日本午夜一区二区| 成人免费视频视频| 精品视频1区2区| 久久久99精品免费观看不卡| 亚洲视频一区在线观看| 婷婷综合在线观看| 成人性生交大片免费看中文| 色8久久精品久久久久久蜜| 日韩一区二区三区四区| 国产精品国产三级国产aⅴ入口 | 激情综合网天天干| 成人免费精品视频| 在线综合+亚洲+欧美中文字幕| 久久婷婷国产综合国色天香| 亚洲精品乱码久久久久久 | 亚洲美女在线一区| 老司机一区二区| 色吊一区二区三区| 久久精品一区二区三区不卡牛牛| 亚洲精品乱码久久久久久日本蜜臀| 麻豆久久一区二区| 91久久久免费一区二区| 久久久久久久性| 亚洲成人av免费| 97se狠狠狠综合亚洲狠狠| 久久久噜噜噜久久中文字幕色伊伊| 亚洲黄一区二区三区|