Le 17/10/2021 à 04:16, Bill Cunningham via Gcc-help a écrit : > I am partially complete with a build of gcc-11.2.0. The thing is > that I need the system to recognize the gcc driver I am calling on. I > will also be working on two glibcs, but first thing first. > > There is the system gcc, and the test gcc. Of course I can only > get the system gcc to work. Can the $PATH variable be changed to > access the test gcc, which btw, is not fully complete? Or can sym > links be used in a very skillful manner. I have read both these ways > can, somehow, be used. But I would think gcc runtime switches would > work. The system is considering these two gccs as different as their > triplets are different. > > To uses several flavor of a same software, have a look at the environment module. On my cluster It allows users to select gcc6, gcc9 or gcc10 flavor easily in production, setting PATH, LD_LIBRARY_PATH,....etc. with "module load" / "module unload" commands. Patrick