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.
Regards, Andrew Haines _______________________________________________ fpc-pascal maillist - [email protected] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
