]> gcc.gnu.org Git - gcc.git/commit
Darwin, configury : Allow for specification and detection of dsymutil.
authorIain Sandoe <iain@sandoe.co.uk>
Sun, 13 Dec 2020 17:21:16 +0000 (17:21 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Sun, 29 May 2022 19:05:24 +0000 (20:05 +0100)
commitc7c9940788ce9d816df455a2f18f276a47fa446b
treea138a81b3c2125e84bc4f8bf3946bb5e6ffb4f15
parent558cdc29cd614531d894f6368cad8cc95682793d
Darwin, configury : Allow for specification and detection of dsymutil.

In order to enable DWARF versions > 2 we need a sufficiently modern
version of dsymutil (in addition to the assembler / linker).  This
allows the user to configure a different path from the installed one.

In addition, there are several sources of dsymutil so we differentiate
these in order to be get accurate version information.

Backported from commits 3b5e8ee4f1ecc6d407f391695f65960bcbd63cff and
b019b28ebd65462a092c96d95e9e356c8bb39b78

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
gcc/ChangeLog:

* configure.ac: Handle --with-dsymutil in the same way as we
do for the assembler and linker.  (DEFAULT_DSYMUTIL): New.
Extract the type and version for the dsymutil configured or
found by the default searches.
* config.in: Regenerated.
* configure: Regenerated.
* collect2.c (do_dsymutil): Handle locating dsymutil in the
same way as for the assembler and  linker.
* config/darwin.h (DSYMUTIL): Delete.
* gcc.c: Report a configured dsymutil correctly.
* exec-tool.in: Allow for dsymutil.
* doc/install.texi: Document --with-dsymutil.

ChangeLog:

* Makefile.def: Add dsymutil defs.
* Makefile.in: Regenerated.
* Makefile.tpl: Add dsymutil to flags.
* configure: Regenerated.
* configure.ac: Add dsymutil to target and build recipes.
13 files changed:
Makefile.def
Makefile.in
Makefile.tpl
configure
configure.ac
gcc/collect2.c
gcc/config.in
gcc/config/darwin.h
gcc/configure
gcc/configure.ac
gcc/doc/install.texi
gcc/exec-tool.in
gcc/gcc.c
This page took 0.063195 seconds and 6 git commands to generate.