title: gcc -Wl,--defsym on Mac OSX
body: <p>Under Linux I can issue a </p>
  
  <pre><code>gcc -Wl,--defsym,main=main_x ..
  </code></pre>
  
  <p>However in Mac OSX 10 I get an error</p>
  
  <pre><code>ld: unknown option: --defsym
  </code></pre>
  
  <p>Does anyone know an switch for Mac's gcc that is similar to --defsym ?</p>