Suppose you have 2 files:
A.handA.cpp, whereA.cppincludesA.h
You precompile your header to A.h.gch and delete A.h
Having 2 files:
A.cppandA.h.gch,
How do you compile a final product, using g++?
In my case, g++ is complaining that .h file is nowhere to be found.
I’m not expert, but from Wikipedia:
I’ve tried:
you can see if g++ is using it with: