Mail Archives: djgpp/1997/08/14/04:56:29
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 -