[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

## 13.9 Files that make up GPC; Integrating GNU Pascal in GCC

Note: This is not up to date.

1. The GNU back end (gbe). Used to convert RTL into asm. Supposed to be language independent. Files are in the ``..'` directory (i.e., the directory called ``gcc'`). It also uses files in the ``../config'` subdirectories etc.

   Unfortunately, some of them are not completely language independent and need patching for GPC. This patch (against different GCC versions) is in the ``diffs'` subdirectory. It affects these files:

       convert.c
       dbxout.c
       expr.c
       fold-const.c
       function.c
       optabs.c
       stor-layout.c
       toplev.c

2. Pascal language implementation files hacked from GCC source. In the ideal world, we would optimize them so much for Pascal that their GCC roots would no longer be recognizable. ;-) These files are in the Pascal directory (i.e., the one called ``p'`) and are the following:

       gpc.c         (gcc.c)
       gpcpp.c       (cccp.c)
       gpc-common.c  (c-common.c)
       gpc-decl.c    (c-decl.c)
       lang.c        (c-lang.c)
       gpc-lex.c     (c-lex.c)
       gpc-typeck.c  (c-typeck.c)
       gpcspec.c     (g77spec.c from GNU Fortran)

   Some are even reused unmodified and are still in the GCC source directory (``..'`):

       c-aux-info.c
       c-iterate.c
       c-pragma.c

3. GPC sources written from scratch. They are in the Pascal directory.

       gpc-defs.h
       gpc-options.h
       gpc.gperf (generates hash.h)
       gpi.h
       lang-options.h
       module.[ch]
       objects.[ch]
       parse.y (generates parse.[ch])
       util.[ch]

This document was generated by Frank Heckenbach on May, 10 2002 using texi2html