Re: Problem with compiling source code that includes headers with GTY markers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Moritz Muehlenhoff wrote:
> I'm having a problem with extending GCC 4.0.1:
> I added a new source file to the gcc/ dir, which doesn't contain
> GTY markers itself. But since then all files included from the
> new file, that have GTY markers fail to compile with syntax errors,
> because the GTY token is unknown. So I assume that I need to declare
> my new source file for GTY processing, although it only uses these
> only indirectly, correct?

I've tracked this down to the problem that the "machinery" doesn't build
the generated gt-foo header file for the new file. I've added dump-rtl.c
to GTFILES in gcc/Makefile.in and it's properly added to the autotooled
Makefile, but no gt-dump-rtl.h file is generated.
How can I manually trigger a "machinery" generation run for my new file,
so that I can debug what might be wrong?

Cheers,
        Moritz

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux