On Sun, Jun 1, 2014 at 1:35 PM, Jonathan Wakely wrote: > On 1 June 2014 07:53, Csaba Raduly wrote: >> On Fri, May 30, 2014 at 4:48 PM, Jonathan Wakely wrote: >>> On 30 May 2014 15:29, Csaba Raduly wrote: >>>> Do I have to give up on >>>> switching back and forth between 4.8.2 and 4.9.0? >>> >>> No, you just need to install them so that they don't overwrite each >>> other's files. >> >> How am I supposed to do that? I just ran "make install" , and all the >> compiler versions live happily next to each other, except for >> libstdc++.a :( > > The obvious way is to install the different versions to different prefixes. > > You can also use the --enable-version-specific-runtime-libs but it is > broken for multilib (e.g. x86 and x86_64) compilers, see > https://gcc.gnu.org/PR32415 A seven year old bug :( Thanks Jonathan and also Kai Ruottu for suggesting --enable-version-specific-runtime-libs. Using it (together with --disable-multilib, because thankfully I don't have to worry about 32-bit) enabled the peaceful coexistence of 4.8.2 and 4.9.0 Csaba -- GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++ The Tao of math: The numbers you can count are not the real numbers. Life is complex, with real and imaginary parts. "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds "People disagree with me. I just ignore them." -- Linus Torvalds