GODCC(1)

NAME
godcc - A command-line interface to Compiler Explorer

SYNOPSIS
godcc [ARG...] list (languages | compilers [-l LANGUAGE] | formats)
godcc [ARG...] compile [-c COMPILER] [-o OUTFILE] [SRCFILE] [-- [CARG...]]
godcc [ARG...] format [-f FORMATTER] [-s STYLE] [-o OUTFILE] [SRCFILE]

DESCRIPTION
Command-line front-end to Compiler Explorer.

  Arguments for list compilers:

-l, --language=LANGUAGE
    list compilers for the specified language only.

  Arguments for compile:

SRCFILE
    source file. Defaults to -, the standard input.

-c, --compiler=COMPILER
    compiler to use.

-- [CARG...]
    options to send to compiler verbatim.

    Note that if the program is invoked under a name like godcc-COMPILER then COMPILER is the default for -c|--compiler.

  Arguments for format:

SRCFILE
    source file. Defaults to -, the standard input.

-f, --formatter=FORMATTER
    formatter to use. Defaults to clangformat.

-s, --style=STYLE
    style to use. Defaults to GNU.

-o  output file. Defaults to -, the standard output.

  General arguments:

-q, --quiet
    be quiet. Useful for scripting

--help
    print a help message and exit.

--version
    show version and exit.

  Environment variables:

GODCC_CEHOST
    hostname where to connect to CE

GODCC_CEPORT
    port to use for connecting to CE

REPORTING BUGS
Report bugs to: jemarch@gnu.org

COPYRIGHT
Copyright © 2026 Jose E. Marchesi. License GPLv3+: GNU GPL version 3 or later.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

SEE ALSO
The full documentation for godcc is maintained as a Texinfo manual. If the info and godcc programs are properly installed at your site, the command

    info godcc

should give you access to the complete manual.