This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 0/1] Build GDB as a C++ program by default
- From: John Baldwin <jhb at freebsd dot org>
- To: gdb-patches at sourceware dot org
- Cc: Pedro Alves <palves at redhat dot com>, Walfred Tedeschi <walfred dot tedeschi at intel dot com>, "Simon Marchi; gdb-patches"@sourceware.org
- Date: Wed, 20 Apr 2016 18:42:10 -0700
- 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> <57164CA9 dot 6080401 at intel dot com> <5717DED3 dot 9020107 at redhat dot com>
On Wednesday, April 20, 2016 08:56:03 PM Pedro Alves wrote:
> On 04/19/2016 04:20 PM, Walfred Tedeschi wrote:
> > Am 4/19/2016 um 4:39 PM schrieb Pedro Alves:
> >> On 04/19/2016 03:36 PM, Walfred Tedeschi wrote:
> >>
> >>> Pedro,
> >>>
> >>> Do you have some data about building GDB on OsX with
> >>> --enable-build-with-cxx?
> >>>
> >>> If not I could give it a try!
> >>
> >> Please do give it a try. Thanks!
> >>
> >
> > There is some issues, i will investigating a bit further.
> > By now i was compiling with Clang, will also try to compile with gcc.
>
> I managed to build a linux x darwin cross compiler here, using the
> osxcross tool.
>
> Indeed, clang++ stumbles on a bunch of issues. But then again, so
> does clang in C-mode.
If you are interested in fixing clang warnings I can submit some patches as
I tend to build gdb with clang on FreeBSD. It gets really unhappy about
unused functions from the VEC() generators which adds quite a bit of noise,
but some of the things it finds are actual bugs (though probably harmless
ones).
--
John Baldwin