Sublime Forum

Build with different c++ compiler

#1

In the terminal I always build with
g+±mp-4.7 -std=c++11 -fopenmp prog.cpp -o prog.exe

but if I build in sublime text 2 with
“cmd”: “bash”, “-c”, “g+±mp-4.7 -std=c++11 -fopenmp ‘${file}’ -o ‘${file_path}/${file_base_name}’ && ‘${file_path}/${file_base_name}’”]

sublime text tells me it can’t find g+±mp-4.7 ??? what is going on???

0 Likes