GBS Logo HOME Generic Build Support (GBS) - User Manual
Customisations (Session) Bottom Doc. Button

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

Description
GBS_DEBUGGER| GBS_MAP| GBS_MODE| GBS_OPT| GBS_FLAGS_type

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

A few customisations can be made on the command-line and will only be valid during a Command-Line session and between swr commands.
They control the behaviour of the build and audit commands (gbsbuild, gbsmake, gbsaudit).

The settings are typically meant to temporary "try something else" without the need to change the build.gbs file.
More information can be found at build.gbs.
Order of settings:
Command-line options override These GBS_EnvVars override Build (build.gbs) settings.
Index

GBS_DEBUGGER Bottom Doc. Button Top Document Button Down Section Button Up Section Button Down Chapter Button Blank

Name:

GBS_DEBUGGER

Purpose:

To predefine the GBS_DEBUGGER (include debugging information) setting during a session

Possible Values:

YES NO

Define:

Linux
export GBS_DEBUGGER=value
Windows
SET GBS_DEBUGGER=value

GBS_MAP Bottom Doc. Button Top Document Button Down Section Button Up Section Button Down Chapter Button Up Chapter Button

Name:

GBS_MAP

Purpose:

To predefine the GBS_MAP (generate memory-map) setting during a session

Possible Values:

YES NO

Define:

Linux
export GBS_MAP=value
Windows
SET GBS_MAP=value

GBS_MODE Bottom Doc. Button Top Document Button Down Section Button Up Section Button Down Chapter Button Up Chapter Button

Name:

GBS_MODE

Purpose:

To predefine the GBS_MODE settings during a session

Possible Values:

FINAL ASSERT DEBUG PROFILING

Define:

Linux
export GBS_MODE=value
Windows
SET GBS_MODE=value

GBS_OPT Bottom Doc. Button Top Document Button Down Section Button Up Section Button Down Chapter Button Up Chapter Button

Name:

GBS_OPT

Purpose:

To predefine the GBS_OPT (optimisation) settings during a session

Possible Values:

YES SPEED SIZE DEBUG NO

Define:

Linux
export GBS_OPT=value
Windows
SET GBS_OPT=value

GBS_FLAGS_type Bottom Doc. Button Top Document Button Down Section Button Up Section Button Down Chapter Button Up Chapter Button

Name:

GBS_FLAGS_type

Purpose:

To predefine flags (-options) for a specific type (E.g.: .c or .glk).
Specify the type without the '.' (dot)

Possible Values:

Depend on builder / audit

Define:

Linux
export GBS_FLAGS_type_without_dot=values
Windows
SET GBS_FLAGS_type_without_dot=values

custom_session.html