---
name: "gbx3"
section: "1"
platform: "linux"
package: "gambas3-runtime"
version: "3.22.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/gbx3"
---

# gbx3(1)

GAMBAS Interpreter

## NAME

gbx3 - GAMBAS Interpreter

## SYNOPSIS

**gbx3** \[options\] \[\<project directory\>\] \[-- \<arguments\>\]\
 **gbx3** -e \<expression\>

## DESCRIPTION

Gambas is a free development environment based on a Basic interpreter with object extensions, a mix of Java(tm) and Visual Basic(tm). With Gambas, you can quickly design your program GUI with Qt or GTK+, access database systems like MySQL, PostgreSQL, SQlite or ODBC databases, pilot applications with DBus, translate your program into many languages, create GStreamer, OpenGL or SDL applications, and so on...

**gbx3** is the interpreter that allows you to execute a Gambas project or evaluate a Gambas expression (-e option).

## OPTIONS

- **-a \<path\>**

  override application path

- **-e**

  evaluate an expression

- **-g**

  enter debugging mode

- **-h, --help**

  display help and exit

- **-H, --httpd**

  run through an embedded http server

- **-j**

  disable just-in-time compiler

- **-k**

  do not unload shared libraries

- **-L, --license**

  display license

- **-p \<path\>**

  activate profiling and debugging mode

- **-r \<path\>**

  redirect standard error output

- **-s \<class\>**

  override startup class

- **-t, --trace**

  dump the position of each executed line of code

- **-T**

  list all test modules

- **-T \<tests\>**

  run the specified test modules

- **-V, --version**

  display version

## ENVIRONMENT VARIABLES

- **GB\_DB\_DEBUG**

  Set to "1" to enable database component debugging.

- **GB\_GUI**

  Define the GUI component that will be loaded by the 'gb.gui\*' component family.

- **GB\_GUI\_DARK\_THEME**

  Set to "1" to force dark theme behaviour.

- **GB\_GUI\_PLATFORM**

  Define the graphic platform used by the GUI components. It can be "x11" or "wayland".

- **GB\_HTTPD\_DEBUG**

  Set to "1" to enable embedded web server debugging mode.

- **GB\_HTTPD\_HOST**

  Define the host name used by the embedded web server.

- **GB\_HTTPD\_PORT**

  Define the port used by the embedded web server.

- **GB\_HTTPD\_TIMEOUT**

  Define the request timeout of the embedded web server.

- **GB\_JIT\_CACHE**

  Set to "0" to use the old compilation process that does not use any caching.

- **GB\_JIT\_CC**

  Define the compiler used by the just-in-time component. "gcc" or "clang" are supported at the moment.

- **GB\_JIT\_CFLAGS**

  Define the compilation flags used for generating just-in-time code.

- **GB\_JIT\_DEBUG**

  Set to "1" to enable just-in-time compiler debugging.

- **GB\_JIT\_ENABLED**

  Set to "0" to disable the just-in-time compiler.

- **GB\_JIT\_FORCE**

  Set to "1" to ignore the cache and force a new compilation of just-in-time code.

- **GB\_JIT\_TRACE**

  Set to "1" to display each line executed by the just-in-time compiled code.

- **GB\_MEDIA\_DEBUG**

  Set to "1" to enable 'gb.media' component debugging.

- **GB\_NO\_JIT**

  Set to "1" to disable the just-in-time compiler.

- **GB\_REVERSE**

  Set to "1" to reverse language direction.

- **GB\_STOCK\_DEBUG**

  Set to "1" to enable icon theme debugging.

- **GB\_WEB\_GUI\_DEBUG**

  Set to "1" to enable 'gb.web.gui' component debugging.

## AVAILABILITY

The Gambas website is at: **https://gambaswiki.org/website/**

The Gambas source code is available at: **https://gitlab.com/gambas/gambas/**

The documentation about the language is at: **https://gambaswiki.org/wiki**

## REPORTING BUGS

Report bugs to **http://gambaswiki.org/bugtracker**

## COPYRIGHT

Copyright© Benoît Minisini \<benoit.minisini@gambas-basic.org\>;

This is free software; see the source for copying conditions.  There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
