Whole document tree
    

Whole document tree

Using the GNU Compiler Collection: Configuration Files
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.1 Files Created by configure

Here we spell out what files will be set up by configure. Normally you need not be concerned with these files.

  • A file named `config.h' is created that contains a `#include' of the top-level config file for the machine you will run the compiler on (see section `The Configuration File' in Using and Porting GCC). This file is responsible for defining information about the host machine. It includes `tm.h'.

    The top-level config file is located in the subdirectory `config'. Its name is always `xm-something.h'; usually `xm-machine.h', but there are some exceptions.

    If your system does not support symbolic links, you might want to set up `config.h' to contain a `#include' command which refers to the appropriate file.

  • A file named `tconfig.h' is created which includes the top-level config file for your target machine. This is used for compiling certain programs to run on that machine.

  • A file named `tm.h' is created which includes the machine-description macro file for your target machine. It should be in the subdirectory `config' and its name is often `machine.h'.

  • The command file `configure' also constructs the file `Makefile' by adding some text to the template file `Makefile.in'. The additional text comes from files in the `config' directory, named `t-target' and `x-host'. If these files do not exist, it means nothing needs to be added for a given target or host.



This document was generated by root on January, 30 2002 using texi2html