HI, so I am using gcc myprog.c -o myprog -Wall -std=gnu99 to compile code, I am sure it has worked before tonigth, however its clearly not working tonight, as I have done code changes and its still running an old version of the code... I checked this as well by changing the line to be
gcc myprog.c -o myprog1 -Wall -std=gnu99 in order to produce a new version, however it is clearly still running the previous code changes which makes me think that compiling isn't compiling the changes.
I am using raspbian on pi Z running headless mode and therefore coding from the terminal. Changes should be obvious (Change from sending something to one email address to a different email address).
I am running the program via a Cron event. (I have changed the file to be run in Crontab to point at the new file!)
Any ideas/ Thoughts / Pointers?