title: Installing GCC in mac
body: <p>I've recently installed gcc 4.6.3 on my MAC (with OSX Lion, XCode 4.3, gcc 4.2.1). I've made a folder named my_gcc463, which contains all files after compiling gcc with make command, etc.
  I've also installed MacPorts to select between all versions of gcc that I have. The problem is when I run this command:</p>
  
  <pre><code>port select --list gcc
  </code></pre>
  
  <p>I can't see the new gcc 4.6.3 in the list so that I can select that. Also when I run this command:</p>
  
  <pre><code>sudo ln -s -f ~/my_gcc463/gcc-4.6.3 /usr/bin/gcc
  </code></pre>
  
  <p>to link gcc to the one I want, It's not working. For example after creating that symlink, when I run:</p>
  
  <pre><code>gcc -v
  </code></pre>
  
  <p>It doesn't give me the version. What should I do to make my new gcc appear in the gcc list? Did I do anything wrong? Should I install it in other way?</p>
  
  <p>Thank you in advance for helping me. :)</p>