What is different about the compiler cc(1)?
In BSD/OS 4.0, the C compiler cc is officially GCC 2. The gcc and gcc2 interfaces are identical to cc. The GCC 1 compiler has been retired, since we didn’t want to make it support ELF. On some very small installations, it may no longer be possible to build programs with cc in a reasonable period of time, because the GCC 2 compiler demands more resources than the old GCC 1 compiler. The GCC 2 manual may be accessed on-line using `info gcc’. The C compiler now produces ELF assembly code. See below for more information about ELF assembly syntax. There are several stylistic changes in the assembly output. For example, const data and strings are placed in the .rodata section, a new section that contains read-only data. Temporary labels begin with `.L’ instead of just `L’. The size and `type’ of functions and data are recorded in .size and .type directives, respectively. Most of the other changes are purely cosmetic. Under ELF, the compiler passes the names of C functions and variables (`sym