This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: c++filt and addr2line [was Re: c++filt causing flashing consolewindows]
Ranjit Mathew writes:
> Andrew Haley wrote:
> > Ranjit Mathew writes:
> > > Øyvind Harboe wrote:
> > > > Is there a way I can turn off the invocation of "c++filt"
> > > > from my compiled app?
>
> > > Ditto for using libbfd v/s invoking addr2line,
> >
> > This idea seems to come up once or twice a year.
> >
> > The problem is not technical: it is legal. We cannot do this
> > unless the licences of libbfd and libiberty are changed.
> > libiberty is LGPL, which might be OK in some cases, but it is not
> > the same as GPL+exception. We can't license libgcj under two
> > licences.
>
> But we (GCJ/libgcj and the rest of GCC) already use lots of
> functions from libiberty! For example, I was the one who submitted
> a patch to use the "xregex" functions from libiberty for systems
> that do not have their own regex functions in libc.
Re-send: I mistyped.
In which case I have no objection to using libiberty; I would not add a
dependency on another library if possible, but if we already have such
a dependency we might as well use it.
bfd is still pretty much out of the question.
Andrew.