Chinaunix首页 | 论坛 | 博客
  • 博客访问: 361869
  • 博文数量: 71
  • 博客积分: 4691
  • 博客等级: 上校
  • 技术积分: 935
  • 用 户 组: 普通用户
  • 注册时间: 2006-04-14 15:14
个人简介

who am i ... i'm back.

文章分类

全部博文(71)

文章存档

2014年(4)

2011年(1)

2010年(22)

2009年(17)

2008年(27)

我的朋友

分类: C/C++

2009-12-06 21:18:21

cc aix老版本的c, 不保证ansi兼容。

xlc 最新的c 版本。

xlc_r 多线程支持 基本上 = xlc -lpthread
xlc_r4 ----- = xlc -ldcepthreads

找这个问题发现 这些东西在中文上搜索是不行的。

---------------------------------------
xlc
ANSI C compiler with UNIX header files. Use this command for most new C programs.

cc
Extended C compiler. This command invokes a non-ANSI compliant compiler. Use it for legacy C programs.

c89
Strict ANSI C compiler with ANSI header files. Use this command for maximum portability of your C programs.

xlC
Native (i.e., non-cfront) C++ compiler. Use this command for compiling and linking all C++ code.
  • xlc_r, cc_r; xlC_r: For use with POSIX threads
  • xlc_r4, cc_r4; xlC_r4, CC_r4: For use with DCE threads

阅读(4219) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~