Page 1 of 1
Where are object files stored?
Posted:
Sat Feb 04, 2017 3:56 am
by lotus49
I have a few small ESP8266 projects that I have successfully compiled and run but I cannot find the object (.o) files. Where are they? I have searched my whole home directory and the only ones I can find appear to be the onds installed when I installed the IDE.
Re: Where are object files stored?
Posted:
Sat Feb 04, 2017 3:43 pm
by gdsports
In the Arduino IDE, open File | Preferences. Check "Show verbose output during compilation". in the Compiler warnings box select All. On the next compile, the bottom window will show details on where the compiler is storing obj files.
Re: Where are object files stored?
Posted:
Sun Feb 05, 2017 1:22 pm
by lotus49
Excellent, thank you very much.
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.