5.3.2.3 Files Created byconfigure ¶
Here we spell out what files will be set up byconfigure in thegcc directory. Some other files are created as temporary filesin the configuration process, and are not used in the subsequentbuild; these are not documented.
- Makefile is constructed fromMakefile.in, together withthe host and target fragments (seeMakefileFragments)t-target andx-host fromconfig, if any, and language Makefile fragmentslanguage/Make-lang.in.
- auto-host.h contains information about the host machinedetermined byconfigure. If the host machine is different fromthe build machine, thenauto-build.h is also created,containing such information about the build machine.
- config.status is a script that may be run to recreate thecurrent configuration.
- configargs.h is a header containing details of the argumentspassed toconfigure to configure GCC, and of the thread modelused.
- cstamp-h is used as a timestamp.
- If a languageconfig-lang.in file (seeThe Front Endconfig-lang.in File) sets
outputs, thenthe files listed inoutputs there are also generated.
The following configuration headers are created from the Makefile,usingmkconfig.sh, rather than directly byconfigure.config.h,bconfig.h andtconfig.h all contain thexm-machine.h header, if any, appropriate to the host,build and target machines respectively, the configuration headers forthe target, and some definitions; for the host and build machines,these include the autoconfigured headers generated byconfigure. The other configuration headers are determined byconfig.gcc. They also contain the typedefs forrtx,rtvec andtree.
- config.h, for use in programs that run on the host machine.
- bconfig.h, for use in programs that run on the build machine.
- tconfig.h, for use in programs and libraries for the targetmachine.
- tm_p.h, which includes the headermachine-protos.hthat contains prototypes for functions in the targetmachine.c file. Themachine-protos.h header is included after thertl.hand/ortree.h would have been included.Thetm_p.h alsoincludes the headertm-preds.h which is generated bygenpreds program during the build to define the declarationsand inline functions for the predicate functions.