Copyright (C) 2000-2012 |
GNU Info (gcc-295.info)Configuration FilesFiles 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 (Note: Config.). 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. |