Bug 16368 - gnatmem, gnatdll are docmented but never built
Summary: gnatmem, gnatdll are docmented but never built
Status: RESOLVED WONTFIX
Alias: None
Product: gcc
Classification: Unclassified
Component: ada (show other bugs)
Version: 3.4.0
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-05 10:02 UTC by Danny Smith
Modified: 2015-12-05 10:37 UTC (History)
3 users (show)

See Also:
Host: i686-pc-mingw32
Target: i686-pc-mingw32
Build: i686-pc-mingw32
Known to work:
Known to fail:
Last reconfirmed: 2005-06-04 16:58:08


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Danny Smith 2004-07-05 10:02:53 UTC
The rule to make gnattools3 in ada/Makefile.in is commented out:

# These tools are only built for the native version.
gnattools3: ../stamp-tools
#	$(MAKE) -C tools -f ../Makefile $(TOOLS_FLAGS_TO_PASS) \
#	  TOOLSCASE=native top_builddir=../../.. \
#	  ../../gnatmem$(exeext) $(EXTRA_GNATTOOLS)


This prevents gnatdll (an EXTRA_GNATTOOL) and gnatmem from being built. 
In the case of gnatmem, I can see a reason for it not to be built: The code in 
gmem.c depends on functions exported from libaddr2line.a
Although I have been able to hack together a libaddr2line.a (that works with 
Ada's  traceback code) from current binutils srcs, AFAICT, there is no formal 
support for this library.

What is reason for  gnatdll being disabled?  

Both tools are documented in gnat_ugn.texi.  Could the reason for their non-
existence also be documented?

Danny
Comment 1 Andrew Pinski 2004-10-29 17:27:16 UTC
Confirmed.
Comment 2 Danny Smith 2005-03-05 10:45:33 UTC
Other utilities that are documented in gnat_ugn.texi

gnatpp (gnat pretty)
gnatstub
gnatmetric

are not built in FSF tree.

Nor is there any documentation on where these utilities are available.

Danny
Comment 3 Eric Botcazou 2015-12-05 10:37:07 UTC
.