title: Using a Linker Script on Mac OS X
body: <p>Is there any way to use a linker script with <code>ld</code> on Mac OS X?</p>
  
  <p>The GNU <code>ld</code> program on Linux accepts a <code>-T &lt;scriptname&gt;</code> option, but on Mac OS -T is an unknown command option. Using an alternative installation of GCC is okay with me, if that solves the problem.</p>