Hi everyone,
I have a question regarding how to change the default compiler in snowleopard. I have performed the steps given in here to install GCC 4.6 on my laptop to compile fortran codes. Now the compiler works fine when I am using the terminal (I have changed my .profile to include the new path to gcc 4.6) but still the newer version is not set as my default compiler. I am using Eclipse to write my codes since I need an IDE that works with Fortran and C++ but I can't get Eclipse to use the new compiler. It automatically uses apple's gcc 4.2 which doesn't have fortran enabled. can you help me with this problem? thank you.
I have a question regarding how to change the default compiler in snowleopard. I have performed the steps given in here to install GCC 4.6 on my laptop to compile fortran codes. Now the compiler works fine when I am using the terminal (I have changed my .profile to include the new path to gcc 4.6) but still the newer version is not set as my default compiler. I am using Eclipse to write my codes since I need an IDE that works with Fortran and C++ but I can't get Eclipse to use the new compiler. It automatically uses apple's gcc 4.2 which doesn't have fortran enabled. can you help me with this problem? thank you.