C89(1)
π C89(1) π
Manual name: General Commands Manual π (this is the section where all the good stuff lives, bestie π§)
β¨ NAME β¨
c89 π is an ANSI (1989) C compiler. Yes, it's an actual compiler, and it's giving vintage. π¦
πΈ SYNOPSIS πΈ
c89 [-pedantic] [-pedantic-errors] [-D_ANSI_SOURCE] options ...
π DESCRIPTION π
okay so c89 basically calls the C compiler (cc) for you with whatever options you hand it π«Ά, but it sets up a C language environment that's compatible with the -ansiC specification. so it's strict, it's proper, it's very "I read the rules" energy β¨
here's the tea π΅ it handles trigraphs properly (main character behavior π), and it turns off the non-ANSI compiler features like asm, inline, typeof, and the $ character in identifiers. no cap, those are all banned in this environment π It also defines the preprocessor symbol __STRICT_ANSI__ π so your code can check that it's running in strict mode. iconic, honestly.
π¦ SEE ALSO π¦
cc(1) has the full rundown of all the options π go check it out, it's literally the source of truth.
π°οΈ HISTORY π°οΈ
This one appeared in NetBSD 1.4 β¨ it's been around, it's got history, it's aging like fine wine π·
π BUGS π
β οΈ bestie, real talk:c89is a shell wrapper script π that just hands everything off tocc. because of that, any compile errors come out prefixed with"cc:"instead of"c89:". so if you're confused about where that error came from, now you know π«Ά
π That's the whole page, babe! It's C89(1) from the General Commands Manual π go forth and compile responsibly π β¨
π¦ where this page comes from
- ubuntu questing: gcc 4:15.2.0-4ubuntu1
- 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