Bug 28714 - Some tools (e.g. size) deliberately omitted from "tooldir" installation
Summary: Some tools (e.g. size) deliberately omitted from "tooldir" installation
Status: UNCONFIRMED
Alias: None
Product: binutils
Classification: Unclassified
Component: binutils (show other bugs)
Version: 2.38
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-19 19:21 UTC by Stefan Brüns
Modified: 2023-11-13 10:25 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Brüns 2021-12-19 19:21:56 UTC
Only some of the built tools are installed into the $tooldir:

https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=binutils/Makefile.am;hb=d8bbdb9dd5653716b0f904bba69ca5b63acaca2d#l111

Most notably, "size" is omitted, but also addr2line, elfedit, gprof and strings.

Whats the rationale which program also gets the symlink in the $tooldir, and which is only installed into $bindir?
Comment 1 Andreas Schwab 2021-12-19 19:38:25 UTC
Those are the tools needed by gcc or gdb, see ACX_CHECK_INSTALLED_TARGET_TOOL in the toplevel configure.