---
name: "gsc-cc-o"
section: "1"
platform: "linux"
package: "gambc"
version: "4.0~b20-1"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/gsi"
---

# gsc-cc-o(1)

Part of [gsi(1)](/gsi/1.md).

## NAME

Gambit-C Scheme Interpreter and Compiler

## SYNOPSIS

**gsi** \[ -**:***arg*,... \]  \[ **-f** \] \[ **-v** \]  \[\[-\]  \[ **-e** \]  \[ *file* \]\]...\
 **gsc** \[*options*\] \[*files*\]\
 **gsc-cc-o** \[*args*\]

**gsc-script, gsi-script, scheme-ieee-1178-1990, scheme-r4rs, scheme-r5rs,** **scheme-srfi-0, six**, and **six-script**: currently synonyms for **gsi**.

## DESCRIPTION

This manual page documents briefly the **gsi** and **gsc** commands.

The **Gambit-C** programming system is a full implementation of the Scheme language which conforms to the R4RS and IEEE Scheme standards.  It consists of two main programs: **gsi**, the Gambit Scheme interpreter, and **gsc**, the Gambit Scheme compiler.

The interpreter is executed in **interactive mode** when no file or \`-' or \`-e' option is given on the command line.  When at least one file or \`-' or \`-e' option is present the interpreter is executed in **batch mode**.

Entering **,q** or (exit) at the interpreter's command prompt will exit the interpreter.

In **batch mode** the command line arguments denote files to be loaded, REPL interactions to start (\`-' option), and expressions to be evaluated (\`-e' option).  Note that the \`-' and \`-e' options can be interspersed with the files on the command line and can occur multiple times.  The interpreter processes the command line arguments from left to right, loading files with the \`load' procedure and evaluating expressions with the \`eval' procedure in the global interaction environment.  After this processing the interpreter exits.

**gsc-cc-o** is a script used by **gsc** to compile C source files.

## OPTIONS

A summary of options is included below. For a complete description, see the Info files.

- **-**

  Initiate a REPL at this point. (Continue by issuing a **,(c 0)** command at the interpreter prompt)

- **-:**

  Comma separated list of run-time options

- **-e**

  Evaluate an expression.

- **-f**

  Skip initialization file.

- **-v**

  Show version of program.

## SEE ALSO

The documentation for these programs is arguably too extensive to cover with man pages.  Only the common command line options are given here.  The programs are documented fully in *Gambit-C*, available via the Info system (info gambit-c).  This 200+ page document is also available in html and pdf formats via doc-base or in /usr/share/doc/gambc once package gambc-doc is installed.\

The Debian package r5rs-doc provides the Revised(5) Report on the Algorithmic Language Scheme in several formats.  That document is the defining description of the programming language Scheme.

**[dhelp(1)](/dhelp/1.md), [gcc(1)](/gcc/1.md)**

## COPYRIGHT

Gambit-C is Copyright (C) 1994-2006 by Marc Feeley, all rights reserved.

Gambit-C is released under a dual LGPL and Apache 2 license.\
 For further information refer to /usr/share/doc/gambc/copyright.

This manual page is Copyright (C) 2006 Marc Feeley and\
 Kurt B. Kaiser \<kbk@shore.net\>.  Released under the same license as Gambit-C.

## AUTHOR

Gambit-C was written by Marc Feeley \<gambit@iro.umontreal.ca\>.

Homepage: http://www.iro.umontreal.ca/~gambit/
