This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Installing GCC 4.9.0 breaks GCC 4.8.2 when using -static-libstdc++


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]