Hello everyone,
I am new to programing on a mac (Snow Leopard). I have Xcode 3.2.6 and see that there is no gfortran and the default gcc & g++ is version 4.2. I installed an updated version using macports in /opt/local/bin aliased as gcc-mp-4.6, g++-mp-4.6, gfortran-mp-4.6. The gcc and g++ that Xcode uses are in /usr/local/bin. I can compile code fine using command line, however I would like to be able to use the developer enviroment offered by Xcode. How do I set the default version of gcc and g++ in only the developer to gcc-mp-4.6 and g++-mp-4.6. Also, how do I add gfortran-mp-4.6 to Xcode? Detailed instructions would really be appreciated since I am a newbie. Thank you very much!
I am new to programing on a mac (Snow Leopard). I have Xcode 3.2.6 and see that there is no gfortran and the default gcc & g++ is version 4.2. I installed an updated version using macports in /opt/local/bin aliased as gcc-mp-4.6, g++-mp-4.6, gfortran-mp-4.6. The gcc and g++ that Xcode uses are in /usr/local/bin. I can compile code fine using command line, however I would like to be able to use the developer enviroment offered by Xcode. How do I set the default version of gcc and g++ in only the developer to gcc-mp-4.6 and g++-mp-4.6. Also, how do I add gfortran-mp-4.6 to Xcode? Detailed instructions would really be appreciated since I am a newbie. Thank you very much!