This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]