Message-ID: <38D00E61.17076E64@caresystems.com.au> Date: Thu, 16 Mar 2000 08:27:45 +1000 From: leon X-Mailer: Mozilla 4.7 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: Eli Zaretskii CC: djgpp AT delorie DOT com Subject: Re: precompiled headers and djgpp References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Eli Zaretskii wrote: > > On Wed, 15 Mar 2000, leon wrote: > > > Eli Zaretskii wrote: > > > Do you have any problems with GCC compilation speed? It takes a few > > > seconds on any mildly modern CPU (unless you compile a 10,000-line > > > source file), so how much can be gained by storing precompiled header > > > files, anyway? > > > > wouldn't it depend on how many source files are using the contents of > > such a precompiled header? > > I have difficulty understanding the question, sorry. > > What would depend on the amount of files? the efficiency / speed of compilation advantage when using precompiled header. from watcom help files on precompiled headers: "Using precompiled headers reduces compilation time when: ... Your program comprises multiple modules, all of which use the same first #include file and the same compilation options. In this case, the first #include file along with all the files that it includes can be precompiled into one precompiled header. " With best regards - Leon.