免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1423 | 回复: 3
打印 上一主题 下一主题

unix C 版本与编译器问题?在线等。。。。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-03-28 14:37 |只看该作者 |倒序浏览
哪位大侠知道怎么在unix环境下看(CC)编译器的版本 ,还有C的版本。。。C的版本有什么(86 版8几版的吗?)蛋疼的客户现在和我纠结上了。。。 晕死我了。。。。。  

论坛徽章:
0
2 [报告]
发表于 2012-03-28 14:53 |只看该作者
cc -v

论坛徽章:
0
3 [报告]
发表于 2012-03-28 15:01 |只看该作者
$>cc - v
  xlc(1)                IBM (September 2004)                 xlc(1)



  NAME
         xlc++, xlC, xlc, cc, c89, c99, xlCcore, xlc++core and
         related commands - invoke the IBM XL C/C++ compiler

  SYNTAX
         invocation-command [ option | inputfile ] ...

         Where invocation commands are :
         xlc, xlc++, xlC, cc, c89, c99, xlc++core, xlCcore, xlc128,
         xlc++128, xlC128, cc128, c89_128, c99_128, xlc++core128,
         xlCcore128,
          optionally followed by _r, _r4, _r7

  DESCRIPTION
         xlc and related commands compile C and C++ source files.
         They also process assembler source files and object files.
         The compiler calls the link editor to produce a single
         executable or shared library, unless you specify the
         compiler options that prevent object files from being
         linked.

         The input file may have any of the following suffixes:
          .C, .cpp, .cxx, .cc, .cp, .c++ = C++  source file
          .c = C source file
          .i = preprocessed C or C++ source file
          .a = archive file
          .o = object file for ld command
          .s = assembler source file

  OPTIONS
         Options can be flag options or keyword options:

  Flag options
         -#     Displays language processing commands but does not
                invoke them; output goes to standard output.

         -+     (C++) Compiles any file, <filename.nnn>, as a C++
                language file, where <nnn> is any suffix other than
                .a, .o, or .s.

         -B<prefix>
                When used together with -t, constructs alternate



大概有几十页了。。 我用的是AIX6.1  

论坛徽章:
0
4 [报告]
发表于 2012-03-28 15:02 |只看该作者
我看了里面没有版本的。。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP