MMatlock Posted June 6, 2006 Share Posted June 6, 2006 I have an installation of red hat fedora core 5 on my "mac", I was curious as to whether or not linux contained a command similar to OSX's gcc_select to select which version of gcc one desires to use. I have a project that must be compiled using gcc 3.3, however gcc 4.1 is the default compiler under this install of linux. Does anyone have any suggestions? Either the name of a version switching command like gcc_select or a way to install and use 3.3 from the terminal (with ./configure and make) would be fine. Link to comment Share on other sites More sharing options...
domino Posted June 7, 2006 Share Posted June 7, 2006 You'll need to instal gcc-3.3 and do an export command. Try this: export CC=/usr/bin/gcc-3.3 Link to comment Share on other sites More sharing options...
lord_muad_dib Posted June 11, 2006 Share Posted June 11, 2006 You'll need to instal gcc-3.3 and do an export command.Try this: export CC=/usr/bin/gcc-3.3 the export thing is ok most of the times but sometimes you need to switch symlinks Link to comment Share on other sites More sharing options...
Recommended Posts