title: Is g++ both a c++ compiler and a linker?
body: <p>I was looking at the output from my build in Eclipse. I'm cross compiling for a ColdFire processor. The compilation line looks like this:</p>
  
  <pre><code>m68k-elf-g++ -O2 -falign-functions=4 -IC:\nburn\include -IC:\nburn\MOD52...
  </code></pre>
  
  <p>followed by more include file, obvious "compiler" flags and finally the one source file I changed. The next line invokes the same tool again:</p>
  
  <pre><code>m68k-elf-g++ src\main.o src\TouchPanelMediator.o src\Startup.o....
  </code></pre>
  
  <p>followed by more .o files some .ld files and some .a files. This appears to be linking all the various types of object files together.</p>
  
  <p>In the Gnu family is g++ some uber application that can determine based on arguments whether it needs to compile or link? Does it have both capabilities built-in or is it just dispatching compiling to gcc and linking to ld and my log just doesn't show that? </p>