next up previous contents
Next: Building and Administering a Up: Creating a Configuration Previous: Pthreads: POSIX threads   Contents

File Layout

The configuration process sets up various subdirectories and files in the configs directory to contain the configuration specific files; these are placed in a directory with the name of the configuration.

config-data
contains the files created by the configure script:

The most important ones are

make.config.defn
contains compilers and compilation flags for a configuration.

make.extra.defn
contains details about extra packages used in the configuration.

cctk_Config.h
The main configuration header file, containing architecture specific definitions.

cctk_Archdefs.h
An architecture specific header file containing things which cannot be automatically detected, and have thus been hand-coded for this architecture.

These are the first files which should be checked or modified to suit any peculiarities of this configuration.

In addition, the following files may be informative:

fortran_name.pl
A Perl script used to determine how the Fortran compiler names subroutines. This is used to make some C routines callable from Fortran, and Fortran routines callable from C.

make.config.deps
Initially empty. It can be edited to add extra architecture specific dependencies needed to generate the executable.

make.config.rule
The make rules for generating object files from source files.

Finally, autoconf generates the following files.

config.log
A log of the autoconf process.

config.status
A script which may be used to regenerate the configuration.

config.cache
An internal file used by autoconf.

lib
An empty directory which will contain the libraries created for each thorn.

build
An empty directory which will contain the object files generated for this configuration, and preprocessed source files.

config-info
A file containing information about the configuration (including the options used to configure the configuration).

bindings
A directory which contains all the files generated by the CST from the .ccl files.

scratch
A scratch directory which is used to accommodate Fortran 90 modules.


next up previous contents
Next: Building and Administering a Up: Creating a Configuration Previous: Pthreads: POSIX threads   Contents