Re: ld: document static libraries when performing static linking

2024-02-21 Thread Jonathan Wakely via Gcc
On Wed, 21 Feb 2024 at 17:29, Christian Tramnitz via Gcc wrote: > > Hello, > > For statically linked binaries one wants to keep track of external > libraries that were pulled in at link time. I haven't found any > initiatives or standards trying to achieve this yet, so I would like > to make a

ld: document static libraries when performing static linking

2024-02-21 Thread Christian Tramnitz via Gcc
Hello, For statically linked binaries one wants to keep track of external libraries that were pulled in at link time. I haven't found any initiatives or standards trying to achieve this yet, so I would like to make a proposal. ld already supports the `--depedency-file=` option to create a