Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: tjareson on October 10, 2022, 04:47:22 pm

Title: How to keep inode of rebuilt binary
Post by: tjareson 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
Title: Re: How to keep inode of rebuilt binary
Post by: stahta01 on October 10, 2022, 08:47:32 pm
Stop rebuilding instead do an build is step one.

Tim S.