walksky / myqq3

Automatically exported from code.google.com/p/myqq3
0 stars 0 forks source link

建议使用 autotools #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
建议使用 autotools 来构建。
plain Makefile 对交叉编译不友好。

Original issue reported on code.google.com by microcai...@gmail.com on 26 May 2011 at 4:27

GoogleCodeExporter commented 9 years ago
用autotools还不如用cmake

Original comment by hyperiris on 26 May 2011 at 5:01

GoogleCodeExporter commented 9 years ago
... 用 autotools 其实是最好的。

建议看看这个文章

http://www.gentoo.org/doc/en/articles/autotools-practices.xml

摘录一句话
Autotools can be quite tricky for newcomers, but when you start using them on a 
daily basis you find it's a lot easier than having to deal with manual 
makefiles or other strange build tools such as imake or qmake, or even worse, 
special autotools-like build scripts that try to recognize the system they are 
building on. Autotools makes it simple to support new OSes and new hardware 
platforms, and saves maintainers and porters from having to learn how to 
custom-build a system to fix compilation. By carefully writing a script, 
developers can support new platforms without any changes at all.

翻译过来就是, autotools 
虽然开始入门难,但是用久了就知道,是最简单,最强大,��
�题最少的,维护性最高的,对用户(打包人员)最友好的一�
��方式。

昨天给你写了 ebuild 加到 China Overlay 了。
因为不用 autotools, ebuild 里要替你做本来很多应该是 autotools 
自己完成的事情。
使用 非 autotools , 不过是把开发者的责任推卸给了打包的人。

Original comment by microcai...@gmail.com on 26 May 2011 at 5:52