c++filt and addr2line [was Re: c++filt causing flashing console windows]

Andrew Haley aph@redhat.com
Tue Sep 9 08:37:00 GMT 2003


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.
In which case I have no objection to using libbfd; 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.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /