﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-游戏人生-最新评论</title><link>http://www.cppblog.com/Fox/CommentsRSS.aspx</link><description>游戏人生 != ( 人生 == 游戏 ) &lt;br /&gt;
站点迁移至：&lt;a href="http://www.yulefox.com"&gt;http://www.yulefox.com&lt;/a&gt;。请订阅本博的朋友将RSS修改为&lt;a href="http://feeds.feedburner.com/yulefox"&gt;http://feeds.feedburner.com/yulefox&lt;/a&gt;</description><language>zh-cn</language><pubDate>Wed, 06 Jan 2010 17:32:17 GMT</pubDate><lastBuildDate>Wed, 06 Jan 2010 17:32:17 GMT</lastBuildDate><generator>cnblogs</generator><item><title>re:  Autotools初体验</title><link>http://www.cppblog.com/Fox/archive/2009/12/24/103743.html#103889</link><dc:creator>Fox</dc:creator><author>Fox</author><pubDate>Thu, 24 Dec 2009 02:52:00 GMT</pubDate><guid>http://www.cppblog.com/Fox/archive/2009/12/24/103743.html#103889</guid><description><![CDATA[@饭中淹<br>这套工具现在对于我更多的是一个学习和试验，如果希望和别人交流和共同开发跨平台（尤其是non-win）的代码的话，由于需要对依赖库进行检测，这个工作可以由autoconf+automake来完成。<img src ="http://www.cppblog.com/Fox/aggbug/103889.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/Fox/" target="_blank">Fox</a> 2009-12-24 10:52 <a href="http://www.cppblog.com/Fox/archive/2009/12/24/103743.html#103889#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re:  Autotools初体验</title><link>http://www.cppblog.com/Fox/archive/2009/12/24/103743.html#103884</link><dc:creator>饭中淹</dc:creator><author>饭中淹</author><pubDate>Thu, 24 Dec 2009 02:31:00 GMT</pubDate><guid>http://www.cppblog.com/Fox/archive/2009/12/24/103743.html#103884</guid><description><![CDATA[这个相对于IDE来说，有什么优势？<img src ="http://www.cppblog.com/Fox/aggbug/103884.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/Fox/" target="_blank">饭中淹</a> 2009-12-24 10:31 <a href="http://www.cppblog.com/Fox/archive/2009/12/24/103743.html#103884#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re:  Autotools初体验</title><link>http://www.cppblog.com/Fox/archive/2009/12/23/103743.html#103752</link><dc:creator>Fox</dc:creator><author>Fox</author><pubDate>Wed, 23 Dec 2009 01:04:00 GMT</pubDate><guid>http://www.cppblog.com/Fox/archive/2009/12/23/103743.html#103752</guid><description><![CDATA[In practice, CMake not only lacks a rich platform tests suite, compared to autoconf, it also lacks a lot of features from automake and libtool.<br><br>So why should you not switch an autotools-based project over to CMake?<br><br>Tedious<br>    First and foremost, your configure.ac script may be large. Porting to CMake can be a time consuming and not so funnny task when it comes to the long tail. <br>iconv support missing<br>    There are no standard tests for iconv(), neither for finding the compiler flags, nor whether it takes a const pointer. <br>pkg-config support broken<br>    pkg-config support is reportedly broken as of cmake 2.4 patch 8. <br>Exported symbols list not implemented<br>    There are no documented ways to specify the list of exported symbols for a shared libraries, so your libraries will unconditionnaly expose all their non-static APIs (libtool can use a flat list or a regular expression). <br>C99 compiler check missing<br>    There is no built-in support to enable C99 support in the C compiler. <br>Objective-C flags not supported<br>    You can add flags for the Objective-C compiler, but they propagate to C compilation as well. <br>Compiler feature checks missing<br>    There are no built-in checks for any of the C99 features, such as variable-sized arrays, restricted pointers, macros with variable number of arguments, etc. nor for GCCisms. <br>Monolithic installation prefix<br>    There is only one global installation prefix. So the typical Linux distro cannot set the global prefix to /usr while the system configuration (automake's sysconfdir) would be /etc. Very nice for &quot;downstream&quot; Linux packagers... <br>Installation paths hard-coding<br>    As a consequence of the single prefix, you need to hard-code all paths from the prefix. Instead of ${docdir}, you need to hard-code ${prefix}/share/doc/${package} (${CMAKE_INSTALL_PREFIX}/share/doc/foobar in CMake parliance) and so on and so forth. BSD porters are going to have fun tweaking the paths manually... <br>Uninstallation not supported<br>    There is sipport for uninstalling. That is a design choice. You'd better never ever try to install a package straight from the build tree, without a proper packaging system. <br>Installation testsuite not supported<br>    Since there is no uninstallation, there is no of course no distcheck target either. How often did you get your source tarball right from the first attempt before a new release? <br>No cross-compilation<br>    There is no documented support for cross-compilation. This is scheduled for a future release. <br>Limited documentation<br>    Compared to autotools, the documentation feels a bit light. At least, there is a wiki, but that cannot replace a good offline reference. <br>Limited executable renaming<br>    CMake is not quite as powerful as automake (with program-prefix, program-suffix and program-transform-name) when it comes to on-the-fly executable renaming. This little-known feature of automake can be extremely useful when building an operating system distribution with possibly conflicting executable names from different projects. For instance, it is very conveniant along with the Debian alternatives system. <br>No source tarball packaging<br>    There is no built-in support for making a tarball (make dist). Some Version Control Systems can do it themselves (git does, Subversion does not). This is quite critical a feature for open-source projects. <br>No source tarball testing<br>    As there is no replacement for make dist, there is no replacement for make distcheck either. From my not-so-humble experience, that is tremendously useful before doing a new release. (NOTE: when I write distcheck, I mean distcheck. I don't mean check which becomes test with CMake) <br>No gettext integration<br>    Gettext is not supported. Targets for .po and .mo files must be added manually. Nevermind that this is the most widely used localization subsystem in the open-source community. <br>Awkward feature listing<br>    Whereby ./configure --help gives the list of build option, cmake --help prints the CMake options only. Instead, it seems you have to run cmake in &quot;interactive&quot; mode and answer a question for each and every setting (much like Linux kernel make config). <br>---------------------------<br>当然这些问题对于我不是必需的，不过还是等我autotools用一段时间再说:)<img src ="http://www.cppblog.com/Fox/aggbug/103752.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/Fox/" target="_blank">Fox</a> 2009-12-23 09:04 <a href="http://www.cppblog.com/Fox/archive/2009/12/23/103743.html#103752#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re:  Autotools初体验[未登录]</title><link>http://www.cppblog.com/Fox/archive/2009/12/23/103743.html#103748</link><dc:creator>jacky</dc:creator><author>jacky</author><pubDate>Wed, 23 Dec 2009 00:15:00 GMT</pubDate><guid>http://www.cppblog.com/Fox/archive/2009/12/23/103743.html#103748</guid><description><![CDATA[autotools用起来太繁琐，OGRE已经用cmake来构建了，很好用。<img src ="http://www.cppblog.com/Fox/aggbug/103748.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/Fox/" target="_blank">jacky</a> 2009-12-23 08:15 <a href="http://www.cppblog.com/Fox/archive/2009/12/23/103743.html#103748#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 如何产生随机数</title><link>http://www.cppblog.com/Fox/archive/2009/12/08/47118.html#102767</link><dc:creator>Fox</dc:creator><author>Fox</author><pubDate>Mon, 07 Dec 2009 16:18:00 GMT</pubDate><guid>http://www.cppblog.com/Fox/archive/2009/12/08/47118.html#102767</guid><description><![CDATA[&lt;style type=text/css&gt;<br>#top a{ border-bottom:1px dashed; color:white;  }<br>#top a:link{ border-bottom:1px dashed; color:white; }<br>#top a:hover{ border-bottom:1px dashed; color:white; }<br>#top a:visited{ border-bottom:1px dashed; color:white; }<br>.post a:link{ border-bottom:1px dashed; color:maroon; }<br>.post a:hover{ border-bottom:1px dashed; color:maroon; }<br>.post a:visited{ border-bottom:1px dashed; color:maroon; }<br>.postbody a{ color:white; background:maroon;  }<br>.postbody a:link{ color:white; background:maroon;  }<br>.postbody a:hover{ color:white; background:maroon; }<br>.postbody a:visited{ color:white; background:maroon; }<br>&lt;/style&gt;<img src ="http://www.cppblog.com/Fox/aggbug/102767.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/Fox/" target="_blank">Fox</a> 2009-12-08 00:18 <a href="http://www.cppblog.com/Fox/archive/2009/12/08/47118.html#102767#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 如何产生随机数</title><link>http://www.cppblog.com/Fox/archive/2009/12/07/47118.html#102731</link><dc:creator>Condor</dc:creator><author>Condor</author><pubDate>Mon, 07 Dec 2009 09:27:00 GMT</pubDate><guid>http://www.cppblog.com/Fox/archive/2009/12/07/47118.html#102731</guid><description><![CDATA[把你的CSS上传下吧。<img src ="http://www.cppblog.com/Fox/aggbug/102731.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/Fox/" target="_blank">Condor</a> 2009-12-07 17:27 <a href="http://www.cppblog.com/Fox/archive/2009/12/07/47118.html#102731#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: ACE vs Boost: Singleton的实现</title><link>http://www.cppblog.com/Fox/archive/2009/12/03/96898.html#102470</link><dc:creator>金庆</dc:creator><author>金庆</author><pubDate>Thu, 03 Dec 2009 08:06:00 GMT</pubDate><guid>http://www.cppblog.com/Fox/archive/2009/12/03/96898.html#102470</guid><description><![CDATA[以上DCL单件的实现可能是有缺陷。但我不是很确信。因为ACE确实是这样实现的。按我的理解，加个volatile就好了。“The &quot;Double-Checked Locking is Broken&quot; Declaration”（ <a target="_new" href="http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html">http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html</a> ）一文可作参考。不知adah所说的批驳是否指这一点？<img src ="http://www.cppblog.com/Fox/aggbug/102470.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/Fox/" target="_blank">金庆</a> 2009-12-03 16:06 <a href="http://www.cppblog.com/Fox/archive/2009/12/03/96898.html#102470#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: VS2005断点失效的问题[未登录]</title><link>http://www.cppblog.com/Fox/archive/2009/11/11/71110.html#100717</link><dc:creator>zq</dc:creator><author>zq</author><pubDate>Wed, 11 Nov 2009 10:16:00 GMT</pubDate><guid>http://www.cppblog.com/Fox/archive/2009/11/11/71110.html#100717</guid><description><![CDATA[每次在vss上下载后打断点无效,必须改动下OnInitDialog 函数的内容,再打个断点才能进入其它断点<img src ="http://www.cppblog.com/Fox/aggbug/100717.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/Fox/" target="_blank">zq</a> 2009-11-11 18:16 <a href="http://www.cppblog.com/Fox/archive/2009/11/11/71110.html#100717#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 动态规划算法</title><link>http://www.cppblog.com/Fox/archive/2009/10/11/49153.html#98285</link><dc:creator>kongbu0621</dc:creator><author>kongbu0621</author><pubDate>Sat, 10 Oct 2009 16:24:00 GMT</pubDate><guid>http://www.cppblog.com/Fox/archive/2009/10/11/49153.html#98285</guid><description><![CDATA[好文啊，谢谢<img src ="http://www.cppblog.com/Fox/aggbug/98285.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/Fox/" target="_blank">kongbu0621</a> 2009-10-11 00:24 <a href="http://www.cppblog.com/Fox/archive/2009/10/11/49153.html#98285#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: ACE vs Boost: Singleton的实现</title><link>http://www.cppblog.com/Fox/archive/2009/09/29/96898.html#97515</link><dc:creator>Fox</dc:creator><author>Fox</author><pubDate>Tue, 29 Sep 2009 01:19:00 GMT</pubDate><guid>http://www.cppblog.com/Fox/archive/2009/09/29/96898.html#97515</guid><description><![CDATA[@adah<br>给个链接我了解一下DCL被批的原因吧，我承认孤陋寡闻了。<img src ="http://www.cppblog.com/Fox/aggbug/97515.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/Fox/" target="_blank">Fox</a> 2009-09-29 09:19 <a href="http://www.cppblog.com/Fox/archive/2009/09/29/96898.html#97515#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>