Subject: Re: C++ and host-mkdep
To: Julio M. Merino Vidal <firstname.lastname@example.org>
From: Matt Thomas <email@example.com>
Date: 07/08/2007 10:26:29
Julio M. Merino Vidal wrote:
> [ Please CC me any replies. ]
> I was trying to add a new host tool (written in C++) to src/tools.
> While doing so, I noticed some build errors because the native
> preprocessor did not recognize the -cxx-isystem option, while our build
> system uses it (or at least that's why I think it failed). (This
> happened with NetBSD-current as the host system, by the way.)
> I fixed this issue with the attached patch. Is it OK to commit?
> Let me also size this post to ask something else: Would it be OK to add
> a C++ host tool to the tools or would this be too painful? (I see that
> there is already support to build C++ host tools, so it doesn't seem
> like a too strange thing.)
I don't think we should be adding local host tools that not in C.
Currently, the only thing in C++ is groff and there's no good alternative.