News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

How to keep inode of rebuilt binary

Started by tjareson, October 10, 2022, 04:47:22 PM

Previous topic - Next topic

tjareson

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

stahta01

Stop rebuilding instead do an build is step one.

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