title: How do you make gccgo compile pig.go?
body: <p>There is a file pig.go on the golang.org website: </p>
  
  <pre><code>    http://golang.org/doc/codewalk/functions/ 
      in a box labeled doc/codewalk/pig.go
  </code></pre>
  
  <p>Compiling it with gccgo version (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1</p>
  
  <pre><code>    gccgo pig.go 
  </code></pre>
  
  <p>gives an error message about not finding math/rand</p>
  
  <pre><code>    pig.go:9:11: error: import file ‘math/rand’ not found
  </code></pre>