[fpc-pascal] Getting build ID

Andrew Haines andrewd207 at aol.com
Sat Oct 24 15:07:18 CEST 2015

On 10/22/2015 08:08 PM, Mark Morgan Lloyd wrote:
> If a program is linked with GNU ld using the --build-id option, how 
> can it retrieve the value at runtime?

I've never done it but maybe a place to start is use the elfreader unit 
in fcl-res to open ParamStr(0) and read the data from the 
.note.gnu.build-id section.


Andrew Haines

More information about the fpc-pascal mailing list