lundi 1 juillet 2019

python, gcc, clang versions

Not always easy to know what are the versions that will be run. I add here some informations:

  py27-spyder has the following notes:
    To make the Python 2.7 version of spyder the one that is run  when you
    execute the commands without a version suffix, e.g. 'spyder', run:
    
    sudo port select --set spyder spyder-27
  py35-spyder has the following notes:
    To make the Python 3.5 version of spyder the one that is run  when you
    execute the commands without a version suffix, e.g. 'spyder', run:
    

    sudo port select --set spyder spyder-35

For gcc, situation is not very clear either:

(base) belinda:bin marcgirondot$ cd /usr/local/bin/

(base) belinda:bin marcgirondot$ gcc-7 --version
gcc-7 (Homebrew GCC 7.4.0_2) 7.4.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

(base) belinda:bin marcgirondot$ gcc-9 --version
gcc-9 (Homebrew GCC 9.1.0) 9.1.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

(base) belinda:bin marcgirondot$ gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1
Apple LLVM version 10.0.1 (clang-1001.0.46.4)
Target: x86_64-apple-darwin18.6.0
Thread model: posix

InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin


Aucun commentaire: