title: Default host compiler used by nvcc for linux
body: <p>I am using CUDA 4.0 on Ubuntu 10.10 with GTX 570 (compute capcability 2.0),  with the GCC compiler suite. As I understand it, during compilation the CUDA compiler driver nvcc splits the <code>.cu</code> files into host code and device code and calls the host compiler to compile the host code and compiles the device code separately. Finally it merges the generated host object code and the device PTX code into a single executable. </p>
  
  <p>For Linux systems what is the default compiler that is invoked for compiling the host code?  Is it 
  the C compiler (<code>gcc</code>) or the C++ compiler (<code>g++</code>) of the GCC suite? </p>