I use Mac OS EL Capitan and installed Xcode. When I type "CCCOM=clang++ -std=c++11" into the terminal, it says command not found. And I checked my clang version, it seems to be clang 3.6 so it should support c++11 feature. I checked the files in the XcodeDefault.xctoolchain/usr/bin and "clang++" is a "Alias" file while "clang" is a "Unix executable" file. When I type "CCCOM=clang++" alone it seems to work and type "std=c++11" it also works. I don't know if "std=c++11" means the same operation as "-std=c++11". And when I tried to configure other terms I also encounter "command not found". Following is the command shown in my terminal. I doubt in which directory I should make the configurations?
x-10-104-121-90:itensor Alesa$ CCCOM=clang++ -std=c++11
-bash: -std=c++11: command not found
x-10-104-121-90:itensor Alesa$ clang++ --version
Apple LLVM version 7.0.2 (clang-700.1.81)
x-10-104-121-90:itensor Alesa$ BLASLAPACKLIBFLAGS=-framework Accelerate
-bash: Accelerate: command not found
And I tried the optional configuration:
x-10-104-121-90:itensor Alesa$ OPTIMIZATIONS=-O2 -DNDEBUG -Wall
-bash: -DNDEBUG: command not found