随笔分类 -  c

摘要:Ubuntu网络环境下安装GCC及其头文件步骤: 1、Ubuntu环境下配置GCC 刚装好的GCC什么都不能编译,因为没有一些必须的头文件,所以要安装build-essential,安装了这个包会安装上g++,libc6-dev,linux-libc-dev,libstdc++6-4.1-dev等好 阅读全文
posted @ 2017-07-01 20:01 zengkefu 阅读(2759) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/cosmoslife/article/details/8771773 http://blog.csdn.net/herx1/article/details/3134889 http://blog.csdn.net/cosmoslife/article/det 阅读全文
posted @ 2017-06-27 22:08 zengkefu 阅读(6799) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/q_l_s/article/details/54909328 阅读全文
posted @ 2017-06-27 22:01 zengkefu 阅读(230) 评论(0) 推荐(0)
摘要:http://www.tyut.edu.cn/kecheng1/2008/site04/courseware/chapter2/2-2-2-2.html http://blog.csdn.net/techx/article/details/43830781 http://blog.csdn.net/ 阅读全文
posted @ 2017-06-27 21:26 zengkefu 阅读(471) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/thefutureisour/article/details/8147277 #include "stdafx.h" int _tmain(int argc, _TCHAR* argv[]){ unsigned int a=32; int b=-6; uns 阅读全文
posted @ 2017-06-27 20:55 zengkefu 阅读(2141) 评论(0) 推荐(0)
摘要:http://www.cnblogs.com/taek/archive/2012/02/05/2338838.html 阅读全文
posted @ 2017-06-13 15:15 zengkefu 阅读(164) 评论(0) 推荐(0)
摘要:一、标准预定义宏The standard predefined macros are specified by the relevant language standards, so they are available with all compilers that implement those 阅读全文
posted @ 2017-06-13 15:12 zengkefu 阅读(488) 评论(0) 推荐(0)
摘要:https://www.ibm.com/developerworks/cn/linux/l-gcc-hacks/ GCC 和 Linux 是出色的组合。尽管它们是独立的软件,但是 Linux 完全依靠 GCC 在新的体系结构上运行。Linux 还利用 GCC 中的特性(称为扩展)实现更多功能和优化。 阅读全文
posted @ 2017-06-13 15:06 zengkefu 阅读(526) 评论(0) 推荐(0)
摘要:http://www.cnblogs.com/lisuyun/p/4169395.html http://blog.csdn.net/kai_gai/article/details/45689247 http://blog.csdn.net/lijiuyangzilsc/article/detail 阅读全文
posted @ 2017-06-13 15:00 zengkefu 阅读(190) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/mydo/article/details/3738336 GNUC的一大特色(却不被初学者所知)就是__attribute__机制。__attribute__可以设置函数属性(FunctionAttribute)、变量属性(Variable Attribut 阅读全文
posted @ 2017-06-13 14:50 zengkefu 阅读(4819) 评论(0) 推荐(0)
摘要:This web page provides 32-bit and 64-bit binaries of gdb for Windows for download. Equation Solution build the debugger from GNU gdb. It is a free sof 阅读全文
posted @ 2017-06-12 11:06 zengkefu 阅读(593) 评论(0) 推荐(0)
摘要:首先,三个的官方网站分别是: minGW:http://www.mingw.org cygwin: http://www.cygwin.com gnuwin32: https://sourceforge.net/projects/getgnuwin32/ minGW给那些习惯于再Linux上开发的人 阅读全文
posted @ 2017-06-12 10:57 zengkefu 阅读(653) 评论(0) 推荐(0)
摘要:http://tdm-gcc.tdragon.net/download 阅读全文
posted @ 2017-06-12 10:49 zengkefu 阅读(629) 评论(0) 推荐(0)
摘要:https://www.gnu.org/software/binutils/ 阅读全文
posted @ 2017-06-12 10:47 zengkefu 阅读(222) 评论(0) 推荐(0)
摘要:https://gcc.gnu.org/install/binaries.html Installing GCC We are often asked about pre-compiled versions of GCC. While we cannot provide these for all 阅读全文
posted @ 2017-06-12 10:42 zengkefu 阅读(218) 评论(0) 推荐(0)
摘要:http://crosstool-ng.github.io/ 阅读全文
posted @ 2017-06-12 10:35 zengkefu 阅读(207) 评论(0) 推荐(0)
摘要:http://www.nagain.com/activity/article/4/ http://blog.csdn.net/snsn1984/article/details/8593380 阅读全文
posted @ 2017-06-11 21:58 zengkefu 阅读(829) 评论(0) 推荐(0)
摘要:http://www.cnblogs.com/qoakzmxncb/archive/2013/04/18/3029105.html 在XCode中,我们经常会看到这些编译选项(如下图),有些人可能会有些茫然,本文将对GCC4.2、LLVM GCC 4.2、LLVM compliler 2.0三个编译 阅读全文
posted @ 2017-06-11 21:38 zengkefu 阅读(1579) 评论(1) 推荐(1)
摘要:Cross GCC Cygwin GCC Linux GCC MacOSX GCC MinGW GCC Solaris GCC Clang 阅读全文
posted @ 2017-06-11 21:25 zengkefu 阅读(202) 评论(0) 推荐(0)
摘要:信号是一种软中断,是一种处理异步事件的方法。一般来说,操作系统都支持许多信号。尤其是UNIX,比较重要应用程序一般都会处理信号。UNIX定义了许 多信号,比如SIGINT表示中断字符信号,也就是Ctrl+C的信号,SIGBUS表示硬件故障的信号;SIGCHLD表示子进程状态改变信号; SIGKILL 阅读全文
posted @ 2017-06-11 20:21 zengkefu 阅读(726) 评论(0) 推荐(0)