Author Topic: How to keep inode of rebuilt binary  (Read 2819 times)

Offline tjareson

  • Single posting newcomer
  • *
  • Posts: 5
How to keep inode of rebuilt binary
« on: October 10, 2022, 04:47:22 pm »
Hello,
I'm using codeblocks 20.03 on linux.
I need to keep the inode of the binary when recompiling. But the very first thing codeblocks (or g++?) is doing is to delete the binary when recompiling.
So even with pre-build steps I cannot rename the old binary to preserve its inode.
Any ideas how I could get ahead of this?

Tjareson

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: How to keep inode of rebuilt binary
« Reply #1 on: October 10, 2022, 08:47:32 pm »
Stop rebuilding instead do an build is step one.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org