Why does g++ link the standard library?
<p>I have a simple piece of c++ code:</p>

<pre><code>#include &lt;iostream&gt;
using namespace std;

int main ()
{
  cout &lt;&lt; "Hello World!";
  return 0;
}
</code></pre>

<p>When I generate the assembly of this code I get a huge assembly file which I presume is compilation of the standard library. Why does this happen and how can I prevent it?</p>
