3.22 Using Precompiled Headers ¶ Often large projects have many header files that are included in every source file. The time the compiler takes to process these header files over and over again can account for nearly all of the time required to build the project. To make builds faster, GCC allows you to precompile a header file. To create a precompiled header file, simply compile it as you would
ããªã³ã³ãã¤ã«æ¸ã¿ããã æ¦è¦ å C++ ã³ã³ãã¤ã©ã® ãããªã³ã³ãã¤ã«æ¸ã¿ããããã®èãæ¹ã«ã¤ãã¦ç°¡åã«èª¬æãã¾ãã å¼ãåãã«åºãã³ã³ãã¤ã©ã¯æ¬¡ã®ãã®ã§ãã Microsoft Visual C++ 6.0 Microsoft Visual C++ 7.1 (.NET 2003) MinGW GNU C++ 3.4.2 Digital Mars C++ 8.4.4 ãªãè¨äºä¸ã§åã³ã³ãã¤ã©ãç¥è¨ããæã¯ã åæããé ã« VC6ãVC7ãGCCãDMC ã¨ãã¾ãã ããªã³ã³ãã¤ã«æ¸ã¿ãããã¨ã¯ 大è¦æ¨¡ãªããã¸ã§ã¯ããæ¢åã®å·¨å¤§ãªã©ã¤ãã©ãªã使ãå ´åã åã½ã¼ã¹ãã¡ã¤ã«ã«ã¯å¤§éã®ããããã¡ã¤ã«ãã¤ã³ã¯ã«ã¼ãããã¾ãã ããªã³ã³ãã¤ã«æ¸ã¿ãããã¨ã¯ã ãã®ã¤ã³ã¯ã«ã¼ããã大éã®ãããããã¡ã¤ã«ããæåéãå ã«ã³ã³ãã¤ã«ãã¦ãã ã½ã¼ã¹ã®ã³ã³ãã¤ã«æéãæ¸ããããã«ä½ããã®ã§ãã ã³ã³ãã¤ã©
This file documents the use of the GNU compilers. Copyright © 1988-2024 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with the Invariant Sections being âFunding Free Softwareâ, the Front-Cover Texts being (a) (see
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}