How to use precompiled header

Asked by minggang

Hello,

I'm using below gcc tool chain.
gcc version 5.4.1 20160919 (release) [ARM/embedded-5-branch revision 240496] (GNU Tools for ARM Embedded Processors)

Does it support precompiled header?

I can build header file to .gch file, but seems the compiler has never been able to use .gch file while compiling .c source file.

Once .h file is deleted to try to let compiler use .gch, the compiler reports "xxx.h could not be found" error when compiles .c source code.

Thanks.

Question information

Language:
English Edit question
Status:
Expired
For:
GNU Arm Embedded Toolchain Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.