Re: [PATCH 0/1] Build GDB as a C++ program by default

Eli Zaretskii
2016-04-19T16:32:01Z

> CC: <gdb-patches@sourceware.org>
> From: Simon Marchi <simon.marchi@ericsson.com>
> Date: Tue, 19 Apr 2016 11:41:37 -0400
>
> I wonder why you say that those who distribute a precompiled gdb would
> also have to distribute the gcc source. Do you mean they would have to
> host it alongside the precompiled binary, or they would have to include
> it in the package users download?

The former, of course.

> Isn't it enough that it's available at gcc.gnu.org and/or mingw.org?

No, not according to the GPL. You must make sure the users will be
able to access the exact sources used to build the libraries, and
there's no practical way to ensure that when you point at a site whose
contents you don't control. E.g., nothing prevents mingw.org to
remove the version of GCC I used to build GDB from their site, and
then my link points to the great void.