Go to the previous, next section.

Final Notes

By configures, I mean that links, Makefile, .gdbinit, and config.status are built. Configuration is always done from the source directory.

./configure name
configures this directory, perhaps recursively, for a single host+target pair where the host and target are both name. If a previous configuration existed, it will be overwritten.

./configure hostname --target=targetname
configures this directory, perhaps recursively, for a single host+target pair where the host is hostname and target is targetname. If a previous configuration existed, it will be overwritten.

Hacking Configurations

The configure scripts essentially do three things, create subdirectories if appropriate, build a `Makefile', and create links to files, all based on and tailored to, a specific host+target pair. The scripts also create a `.gdbinit' if appropriate but this is not tailored.

The Makefile is created by prepending some variable definitions to a Makefile template called `Makefile.in' and then inserting host and target specific Makefile fragments. The variables are set based on the chosen host+target pair and build style, that is, if you use --srcdir or not. The host and target specific Makefile may or may not exist.

Go to the previous, next section.