This is the mail archive of the
mailing list for the GDB project.
Re: [PATCH 0/1] Build GDB as a C++ program by default
- From: Pedro Alves <palves at redhat dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: simon dot marchi at ericsson dot com, gdb-patches at sourceware dot org
- Date: Tue, 19 Apr 2016 16:03:41 +0100
- Subject: Re: [PATCH 0/1] Build GDB as a C++ program by default
- Authentication-results: sourceware.org; auth=none
- References: <1461000466-31668-1-git-send-email-palves at redhat dot com> <571633C8 dot 4060803 at ericsson dot com> <57163E3B dot 50101 at redhat dot com> <83d1pl8xje dot fsf at gnu dot org>
On 04/19/2016 03:48 PM, Eli Zaretskii wrote:
>> From: Pedro Alves <email@example.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?