title: Default libraries linked in by gcc?
body: <p>Let's say I have a very simple C file (called foo.c):</p>
  
  <pre><code>int main()
  {
     printf("foo");
     return 0;
  }
  </code></pre>
  
  <p>Now I call gcc:</p>
  
  <pre><code>gcc foo.c
  </code></pre>
  
  <p>When I call gcc (with no options, as in the above example), what libraries are linked in by default and where are they located? (On Mac OS X 10.7)</p>