Mail Archives: djgpp/2002/02/24/10:18:08
> > Is there a libaddr2line.a in binary distribution
> > of DJGPP; if so in which .zip can I find it ?
Eli Zaretskii:
> addr2line is a program, not a library. (It would not make sense to have
> such a library, IMHO, since the code of addr2line is very small,
> consisting primarily of calls to BFD functions.)
There is also such a library, at least in the official GNAT distributions.
If I list the available libraries for GNAT/Win 3.13p, it is there:
...
libmsvcrt.a
libshell32.a
libgmon.a
* libaddr2line.a
libbfd.a
libiberty.a
libversion.a
libcomctl32.a
libcomdlg32.a
...
> The program addr2line is part of the Binutils package.
> Why did you need such a library, btw?
Starting from the 3.13 version, GNAT provides optionally an
integrated trace-back.
When I try to make use of it the linker says
c:/ada/gnatdos/g314dos/bin/ld.exe: cannot find -laddr2line
Hence my question.
I will rather call the addr2line program.
Thank you for your help
G.
- Raw text -