This is the mail archive of the
mailing list for the binutils project.
Re: Where to put a new binutils app
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Cary Coutant <ccoutant at google dot com>
- Cc: Ian Lance Taylor <iant at google dot com>, Binutils <binutils at sourceware dot org>
- Date: Thu, 6 Sep 2012 19:23:41 -0700
- Subject: Re: Where to put a new binutils app
- References: <CAHACq4ov31QvQfkPFQAvOP18j9caEK-sKB_rmvvS41R64xuQXw@mail.gmail.com>
On Thu, Sep 6, 2012 at 5:32 PM, Cary Coutant <firstname.lastname@example.org> wrote:
> Ian and binutils maintainers,
> I'm writing a new tool to combine .dwo files (Fission split debug) --
> basically a link step for debug info. It's in C++ and uses elfcpp plus
> a few things from libgold.a (e.g., stringpool and dwarf_reader). My
> first thought was that it should go in src/binutils, since it's
> basically a new utility, but (a) I'm not sure whether C++ would be
> accepted there, and (b) I think that would create a circular
> dependency between the binutils and gold directories (the gold
> testsuite requires binutils to have been built). Should I just put it
> in the gold directory (we already have incremental-dump there), or
> somewhere new? Or should I refactor the useful stuff I want to borrow
> from gold into another top-level directory?
If it depends on gold, I think it should be in gold directory.
Can you create a utility directory under gold?