public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Precompiled headers issue: -c and -fpch-preprocess should be used   together?
@ 2010-03-29  7:57 Pavel Shevaev
  2010-04-07 14:36 ` Ian Lance Taylor
  0 siblings, 1 reply; 5+ messages in thread
From: Pavel Shevaev @ 2010-03-29  7:57 UTC (permalink / raw)
  To: gcc-help

Folks, I'm using gcc-4.4.1(4.4.1-4ubuntu9 to be precise) on Ubuntu and
after trying to make PCH work properly for some time I found that
precompiled headers are not used if -c option used. Experimenting with
different options I discovered that it's the -fpch-preprocess option
which enables PCH in this case.

Is it an expected behavior? If yes, maybe it should be documented here
http://gcc.gnu.org/onlinedocs/gcc/Precompiled-Headers.html in order to
save some time for others :)

-- 
Best regards, Pavel

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-04-19 11:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-29  7:57 Precompiled headers issue: -c and -fpch-preprocess should be used together? Pavel Shevaev
2010-04-07 14:36 ` Ian Lance Taylor
2010-04-16 20:59   ` Pavel Shevaev
2010-04-17  3:23     ` Ian Lance Taylor
2010-04-19 17:51       ` Pavel Shevaev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).