Are precompiled headers supported on gcc 3.3.3 ?
If yes what is the syntax to generate and use precompiled headers on Linux with gcc 3.3.3. We crosscompile our projects on Windows and Linux, on Windows we precompile stdafx.h and I'm investigating how to set it up so that it is precompiled on Linux as well.
I'm aware of the gcc doc , I'm searching for the actual solution.
On gcc 3.3.3 I get this:
> gcc stdafx.h
gcc: compilation of header file requested
And last, if it worked what would be the name of generated file?
EDIT: Precompiled headers do not seem to be supported on gcc 3.3.3 and on newer gcc the generated file is named with .gch extension.