This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to change Elf Header's e_version field on compile time?

Hi experts.

For managing binary file's version information.. I just want to Elf Header's e_version field...

But I don't know how to change that information on compile time...

Could  I use that field as i want to?

Cuz the some application should know the binary version which i made.. I think i should use that field..

(Like for update and etc..), I hope to use that field for managing version..

Thank you for ur reading.... and I beg your wisdom.... 

Parents
  • Hi levi,

    The simple answer is you don't -- any value other than '1' in that field basically makes it an invalid ELF file. It isn't a field you get to modify for the purposes of your application..

    Ta,

    Matt

Reply
  • Hi levi,

    The simple answer is you don't -- any value other than '1' in that field basically makes it an invalid ELF file. It isn't a field you get to modify for the purposes of your application..

    Ta,

    Matt

Children
No data