Disabling the use of precompiled .gch headers

László Monda laci@monda.hu
Sat Apr 25 22:39:00 GMT 2009

On Sun, Apr 26, 2009 at 12:34 AM, Ian Lance Taylor <iant@google.com> wrote:
> László Monda <laci@monda.hu> writes:
>> On Sun, Apr 26, 2009 at 12:22 AM, Ian Lance Taylor <iant@google.com> wrote:
>>> László Monda <laci@monda.hu> writes:
>>>> I'm having a major pain to build a part of
>>>> http://www.fourwalledcubicle.com/LUFA.php using avr-gcc 4.3.0 because
>>>> of bug http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13675
>>>> How can I disable the use of .gch headers?  The instructions found at
>>>> http://gcc.gnu.org/ml/gcc/2003-07/msg01068.html don't work because GCC
>>>> does not recognize them.
>>> Those instructions are for use when building gcc itself, not when
>>> running gcc.  Unfortunately there is no way to tell gcc to not read a
>>> PCH file.  There should be.
>> I'm very sorry to hear that.
>> Is there any way to work around this pain?  (Not counting rebuilding
>> GCC itself.)
> Remove the .gch files?

Unfortunately removing the .gch files doesn't always help.  Sometimes
they are generated during the compilation process and it fails because
of them.

Thanks anyways.  I'll either upgrade or downgrade gcc.

Laci  <http://monda.hu>

More information about the Gcc-help mailing list