delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/14/04:56:29

Date: Thu, 14 Aug 1997 11:55:51 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Peter Berdeklis <peter AT atmosp DOT physics DOT utoronto DOT ca>
cc: djgpp AT delorie DOT com
Subject: Re: Precompiled Headers?
In-Reply-To: <Pine.SGI.3.91.970813143103.4954B-100000@atmosp.physics.utoronto.ca>
Message-ID: <Pine.SUN.3.91.970814115522.6734M-100000@is>
MIME-Version: 1.0

On Wed, 13 Aug 1997, Peter Berdeklis wrote:

> Does GCC/DJGPP have any options for using precompiled headers?  That is 
> to compile headers once, and leave a binary representation on disk that 
> can be processed more quickly - BC and other compilers have this
> option.

No, GCC doesn't have this option, and since DJGPP doesn't add any
features to GCC, neither does DJGPP.

If you think this option should be added to a future GCC release,
please write to the GCC maintainers (send mail to
bug-gcc AT prep DOT ai DOT mit DOT edu).

> I'm becoming "afraid" to include some of the big C++ files because the 
> compilation times increase so much.  No comparison compiling with stdio.h 
> rather than iostream.h, not to mention the big STL template headers.
> 
> This isn't really a problem on GCC since I'm running it on a mainframe,
> but testing/debugging my code under DJGPP sometimes makes for very long
> compile times.  Including a 800 line header in a 120 line code file is a
> pain. 

I don't understand.  Are you telling that your DJGPP installation is
on a slow machine?  What CPU do you have there?  Perhaps the slow
compilation is due to sub-optimal system configuration.  Please
consider reading sections 3.9 and 7.1 of the DJGPP FAQ list (available
as v2/faq210b.zip from the same place you get DJGPP).

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019