Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is different about the compiler cc(1)?

compiler different
0
Posted

What is different about the compiler cc(1)?

0

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

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123