摘要: 对大多数不从事Linux平台C语言开发的人来说,GNU gcc的一套工具和Linux平台的共享库的使用还是十分陌生的,其实我也不太熟悉,姑且写点基础知识,权当做备忘吧。 一、GNU gcc的编译工具用法我们先来写一个简单的C程序:hello.c#include <stdio.h> void print_hello() { printf("Hello World\n"); } int main(int argc, char argv[]) { print_hello(); return 0; }定义了一个print_hel... 阅读全文
posted @ 2012-12-29 18:58 J_Outsider 阅读(1225) 评论(0) 推荐(0) 编辑