zoukankan      html  css  js  c++  java
  • mac 查看C++及各种环境的命令

    MacBook-Air:$ which g++
    /usr/bin/g++
    MacBook-Air:$ arch
    i386
    MacBook-Air:$ g++ --version
    Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
    Apple LLVM version 7.3.0 (clang-703.0.31)
    Target: x86_64-apple-darwin15.6.0
    Thread model: posix
    InstalledDir: /Library/Developer/CommandLineTools/usr/bin
    MacBook-Air:$ gcc --version
    Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
    Apple LLVM version 7.3.0 (clang-703.0.31)
    Target: x86_64-apple-darwin15.6.0
    Thread model: posix
    InstalledDir: /Library/Developer/CommandLineTools/usr/bin
    MacBook-Air:$ clang++ --version
    Apple LLVM version 7.3.0 (clang-703.0.31)
    Target: x86_64-apple-darwin15.6.0
    Thread model: posix
    InstalledDir: /Library/Developer/CommandLineTools/usr/bin
    MacBook-Air:$ brew --config
    ^[[B^[[B^[[B^[[BHOMEBREW_VERSION: 0.9.9
    ORIGIN: https://github.com/Homebrew/brew
    HEAD: cc10c632a8c2803b7e62a37c9490beca8fb48128
    Last commit: 3 months ago
    Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
    Core tap HEAD: 94bfaedfec6c0c6e6434fd147956aa2478dffd1d
    Core tap last commit: 3 months ago
    HOMEBREW_PREFIX: /usr/local
    HOMEBREW_REPOSITORY: /usr/local
    HOMEBREW_CELLAR: /usr/local/Cellar
    HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
    CPU: quad-core 64-bit broadwell
    Clang: 7.3 build 703
    Perl: /usr/bin/perl
    Python: /usr/bin/python
    Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
    Java: 1.8.0_60, 1.6.0_65-b14-468
    System Ruby: 2.0.0-p648
    OS X: 10.11.6-x86_64
    Xcode: N/A
    CLT: 7.3.1.0.1.1461711523
    X11: N/A

  • 相关阅读:
    卡尔曼滤波的原理与思想
    什么是端口
    什么是ICD文件
    USB口,串口,以太网口简介
    Linux基本操作笔记
    网络营销学习路线图
    读书推荐:2017 第一期
    又见Bug
    如何请教别人问题?
    圆桌问答 (2017 第一季)
  • 原文地址:https://www.cnblogs.com/Kellana/p/5848934.html
Copyright © 2011-2022 走看看