---
name: "gpt"
section: "1"
platform: "linux"
package: "gpt"
version: "1.1-8+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/gpt"
---

# gpt(1)

compiler, interpreter and translator for the G-Portugol programming language

## NAME

gpt - compiler, interpreter and translator for the G-Portugol programming language

## SYNOPSIS

  gpt \[ **-vhid** \] \[ **-ots** output\_file \] file1 file2 ...

## DESCRIPTION

*gpt* is a simple compiler for the G-Porutol Language. It is possible to have a list of files to be included in the compilation setting the GPT\_INCLUDE environment variable, wich should have a list of file paths separated with ":".

## OPTIONS

- **-v**

  Shows version information and exits.\

- **-h**

  Shows a summary of options and exits.\

-

  - **-i**

  Execute *interpreting* the source code.\

- **-d**

  Shows tips in the error report.\

- **-o** *output\_file*

  Compile the source code and save the resulting binary with the name *output\_file.*\

- **-t** *output\_file*

  Translates the source code to the C programming language and saves the resulting file as *output\_file.*\

- **-s** *output\_file*

  Compiles the source code to assembly source. Saves the resulting code as *output\_file.*\

## SEE ALSO

[**nasm**(1)](/nasm/1.md)

## ADDITIONAL INFORMATION

For further information, visit the website:\
 **http://gpt.berlios.de**

## AUTHOR

Thiago Silva \<tsilva@sourcecraft.info\>
