Moderator: igrr
That has done the trick. On my Ubuntu system they are stored in /tmp/build<ID string>. It never would have occurred to me to look there as I thought that the compiled .o files would be stored somewhere more permanent.
I appreciate your help, I've been struggling with a problem for days because of this.