title: error when trying to compile with clang
body: <p>I use Ubuntu 14 and try to compile a c++ program in the terminal. Until now I used g++ and compiling worked without problems. As I prefer the error messages from clang I want to work with clang++ from now on.</p>
  
  <p>So far I used the command </p>
  
  <pre><code>g++ -oexec main.cpp file.cpp
  </code></pre>
  
  <p>but when I try</p>
  
  <pre><code>clang++ -oexec main.cpp file.cpp
  </code></pre>
  
  <p>I get the error </p>
  
  <pre><code>clang: error: cannot specify -o when generating multiple output files
  </code></pre>