www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/02/24/10:18:08

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: gautier_niouzes AT hotmail DOT com (Gautier)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Where to find libaddr2line.a for DJGPP ?
Date: 24 Feb 2002 07:12:02 -0800
Organization: http://groups.google.com/
Lines: 38
Message-ID: <17cd177c.0202240712.4297961e@posting.google.com>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1020224125927 DOT 29008A-100000 AT is>
NNTP-Posting-Host: 217.162.106.100
X-Trace: posting.google.com 1014563523 26451 127.0.0.1 (24 Feb 2002 15:12:03 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: 24 Feb 2002 15:12:03 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> > 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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019