C99(1)
π General Commands Manual: C99(1) π
β¨ NAME β¨
c99 is an ANSI (1999) C compiler π
π SYNOPSIS π
c99 [-pedantic] [-pedantic-errors] [-D_ANSI_SOURCE] options ...
π¦ DESCRIPTION π¦
okay so c99 basically calls the C compiler (cc) for you and passes along whatever options you give it π
The big difference is that it sets things up for a C language environment that's compatible with the -ansiC spec, so you're writing strict, standards-following C bestie π«Ά
it's giving proper trigraph handling β¨ and it also turns off the non-ANSI compiler stuff, like asm, inline, typeof, and the $ character in identifiers. no cap, that's a whole glow-up πΈ On top of that, it defines the preprocessor symbol __STRICT_ANSI__ π₯
the status of the C99 features that GCC has implemented is written up at http://gcc.gnu.org/gcc-15/c99status.html π
π§ SEE ALSO π§
cc(1) has the full rundown on every option π
πΈ HISTORY πΈ
this bad boy first showed up in NetBSD 1.4 β¨
π BUGS π
π heads up:c99is just a shell wrapper script aroundcc, so when something fails to compile, the error messages come out prefixed with"cc:". not me getting confused by that at 2am π
ok that's the tea, bestie π this was C99(1), straight from the General Commands Manual, and it's a wrap πβ¨
π¦ where this page comes from
- ubuntu questing: gcc 4:15.2.0-4ubuntu1
- ubuntu resolute: gcc 4:15.2.0-5ubuntu1
- ubuntu stonking: gcc 4:15.2.0-5ubuntu1
- Copyright (c) 1999 The NetBSD Foundation, Inc
- π girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms