This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [PATCH 1/3] Introduce gdb::unique_ptr


On 10/13/2016 02:22 PM, Eli Zaretskii wrote:
>> Cc: brobecker@adacore.com, markus.t.metzger@intel.com,
>>         gdb-patches@sourceware.org
>> From: Pedro Alves <palves@redhat.com>
>> Date: Thu, 13 Oct 2016 11:27:03 +0100
>>
>> The newer compilers available as packages on these old distros
>> (e.g., DTS on RHEL) do _not_ replace the system compiler.  They're
>> installed in parallel, in separate directories.  You willfully add them
>> to the PATH or pass an overridden CXX to configure/make if you want to 
>> use them.
> 
> I don't see the difference, except for the worse: instead of one
> compiler you now have two, so one could easily select the wrong one
> when compiling some package.

You said:

 "upgrading the system compiler is a serious decision.  Installing a
 newer compiler could easily break the build of several important
 packages (...)"

And I'm telling you that the packages in question don't upgrade
the system compiler at all.  There's no risk of "easily break"
things.

Of course people can do all sorts of crazy things, even
"sudo rm -rf /"

But we're not in the business of protecting against all foolishness.

> so one could easily select the wrong one when compiling some package.

No you don't.  The system one is still the default.

There's nothing complicated here.

Thanks,
Pedro Alves


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