How to use precompiled header

Asked by minggang on 2018-05-15

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:
2018-05-15
Last reply:
2018-05-30
Launchpad Janitor (janitor) said : #1

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