Node:Configuration Files, Next:Configurations, Up:Installation
configure
Here we spell out what files will be set up by configure. Normally
you need not be concerned with these files.
config.h is created that contains a #include
of the top-level config file for the machine you will run the compiler
on (see 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.
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.
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.
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.