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

Pedro Alves
2016-04-19T15:03:48Z

On 04/19/2016 03:48 PM, Eli Zaretskii wrote:
>> From: Pedro Alves <palves@redhat.com>
>> Date: Tue, 19 Apr 2016 15:18:35 +0100
>>
>> MinGW (w64) builds and runs cleanly for me too.
>
> Did you look at what libraries it depends on? Doesn't it pull in
> libgcc DLL and libstdc++ DLL? If it does, that'll put a huge damper
> on those who make precompiled binaries of GDB available for Windows
> users, because you need to accompany that with the full GCC source
> tarball, which weighs in at more than 80MB.

GDB links with libgcc even when built as a C program. How's
C++ any different?

Thanks,
Pedro Alves