All apps/g++

g++

gpp

The GNU C++ compiler.

Runs as g++|macOS, Linux, Windows|gcc.gnu.org

Command form

ai-draft · 2 tasks · 14 fields

Compile or preprocess source files. Optimization, warning and -std options are not in the completion data and are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui gpp
Compile C++Example values, fixed in this page — nothing here reaches a terminal
Basic
Source files*
file
Output file
file
Debug info
-g
Include directories
directory
Macros
string
TasksEach one presets the form for one job
Compile and link
sourcesoutputdebuginclude_dirdefine
Compile to object file
sourcesoutputcompile_onlydebuginclude_dirdefine
ParametersOnly these flags are editable in the form
Source files
path · positional 0 · repeatable
Output file
path
-o
Compile only (no link)
boolean
-c
Emit assembly
boolean
-S
Preprocess only
boolean
-E
Debug info
boolean
-g
Include directories
path · repeatable
-I
Library directories
path · repeatable
-L
Macros
NAME or NAME=VALUE.
string · repeatable
-D
Input language
string
-xcc++assemblerobjective-c
Suppress warnings
boolean
-w
Verbose
boolean
-v
Use pipes
boolean
-pipe
Write dependency file (user headers)
boolean
-MMD
SourcesEvery flag above is checked against these
fig
completion

github.com

Before it fills your prompt, Otty checks the installed g++ against its version. A form that does not match your version is not offered.