I was looking at one of the first compilers of c, written by dmr himself. It was written in the early 1970's, so obviously the syntax is very different. In this file, what does ossiz
mean?
ossiz 250;
By the way, is there any helpful article or manual on this sort of thing (older c syntax)?
The current version of GCC is 9.2, which was released on August 12, 2019.
There are many compilers for C, but we will focus on a free open source version called the Gnu C compiler. (Actually we will use the Gnu C++ compiler, but all C programs compile using this compiler).
No, there is no compiler provided by the C standard and thus no way to install it. You have to use a third-party compiler. The most common for Linux and macOS are called GCC (GNU Compiler Collection) and Clang.
There are over 50 compilers for C like ICC by Intel to GNU GCC by GNU Project. The focus of having multiple compilers is to optimize the compiled C code for specific hardware and software environments.
A Compiler (C or C++ Compiler, etc.) is a computer program that converts one programming language (i.e. C/C++ codes) written with text into executable machine code with a linker.
CLANG is considered to be a production-quality C, Objective-C, C++, and Objective-C++ compiler when targeting X86-32, X86-64, and ARM. It is a new C/C++ compiler standard (C++98, C++11, C++17, C++20, C++23 ..) supported by The LLVM Compiler Infrastructure Project, and has been a default compiler in recent years for most C/C++ compilers.
Following is the ultimate list of C compilers that found some users: Compiler Release Developer In Wide Use Users CLang 2007 LLVM Developers Yes General XL C 2007 IBM No IBM systems HP-C 2012 HP No HP systems AOCC 2017 AMD Yes AMD systems 24 more rows ...
Some compilers were developed in 1970s (PCCM by Bell Labs) while the recent ones are from 2017 (AOCC by AMD). Some compilers like LabWindows are used by a specific and small group of developers.
Just like in B, it's a global variable definition with initialization. In modern C it would be:
int ossiz = 250;
Also: https://github.com/mortdeus/legacy-cc/blob/2b4aaa34d3229616c65114bb1c9d6efdc2a6898e/last1120c/c10.c#L462
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With