GBS Logo HOME Generic Build Support (GBS) - User Manual
Generating Libraries & Executables and Testing Bottom Doc. Button

Description Bottom Doc. Button Top Document Button Down Section Button Blank

Archiving Object-files to Libraries Bottom Doc. Button Top Document Button Down Section Button Blank Down Chapter Button Blank

The glb extensions are used to build libraries from object files.
For each library to be built there must be a glb-file in the source-directory, specifying the files to be included in the library.
The name of the library will be equal to the prefix of the glb-file, suffixed with the proper extension.
    (e.q.: total.glbtotal.lib)
'glb' Stands for GBS librarian

Specifying a file to be of the glb type tells GBS that the output files will be eligible for the -L statement while linking.
Description of the glb files can be found here.

Linking Object-files and Libraries to Executables Bottom Doc. Button Top Document Button Down Section Button Blank Down Chapter Button Up Chapter Button

The .glk extensions are used to build executables from object files and libraries.
For each executable to be built there must be a glk-file in the source-directory, specifying the files/libraries of the link.
The name of the executable will be equal to the prefix of the glk-file, suffixed with the proper extension.
    (e.q.: total.glktotal.exe)
'glk' Stands for GBS linker

Specifying a file to be of the glk type tells GBS that -L statement will cause searching for libraries as generated by glb.
Description of the glk files can be found here.

Testing Executables Bottom Doc. Button Top Document Button Down Section Button Blank Down Chapter Button Up Chapter Button

The .glt extensions are used to test executables.
For each executable to be tested there must be a glt-file in the source-directory, specifying the executable and its parameters.
The output of the test (the log) will go to the build-directory. The name of the logfile will be equal to the prefix of the glt-file, suffixed with .log.
    (e.q.: total.glttotal.log)
'glt' Stands for GBS link test

Specifying a file to be of the GLT type tells GBS that there may be special GLT directives in the GLT file.
GLT directives must be specified at the top of the file, prefixed with '^',
followed by the executable-spec on a single line,
followed by the parameters, each on a single line.

GLT directives

At this moment there is only 1 GLT directive: Note:

Description of the glt files can be found here.
glk.html