---
name: "c89"
section: "1"
platform: "linux"
package: "gcc"
version: "4:3.3.5-3"
release: "Debian 3.1 (Sarge)"
platforms: ["linux", "freebsd"]
url: "https://new.carta.tech/c89"
---

# c89(1)

ANSI (1989) C compiler

## NAME

c89 - ANSI (1989) C compiler

## SYNOPSIS

**c89** \[-pedantic\] \[-pedantic-errors\] \[-D\_ANSI\_SOURCE\] *options ...*

## DESCRIPTION

Calls the C compiler (cc) with the given **options ,** using a C language environment compatible with the -ansiC specification.

This includes proper handling of trigraphs, disabling non-ANSI compiler features (such as **asm ,** **inline ,** **typeof ,** and the $ character in identifiers), and definition of the preprocessor symbol \_\_STRICT\_ANSI\_\_ .

## SEE ALSO

[cc(1)](/cc/1.md) for a description of all options.

## HISTORY

Appeared in NetBSD 1.4 .

## BUGS

Since **c89** is a shell wrapper script to **cc ,** compile errors are prefixed by "cc:".
