Objective Code Files, Executable Files, and Libraries
Three Important Elements:
- Your Source Code;
- Startup Code: A code that act as an interface between your computer and the OS.
- Library Routines: The object code file dose not contain the code for funtions; it merely contains instructions saying to use the printf() function. The actual code is stored in another file, called a library.
Note: The object file contains the machine language translation only for the code you used, but the executable file also has machine code for library routines you use and for the startup code.Now, let’s look at some specific systems.
Unix System
Editing on a Unix System
Comliling on a Unix System
The GNU Compiler Collection and the LLVM Project
Linux System
Command-Line Comliers for the PC
Intergrated Development Environments or IDE ( Windows)
The Windows/Linux Option
You can’t run a Linux program from Windows or vice versa, and you can’t access Linux files from Windows, but you can access Windows documents from Linux.
C on the Macintosh
How This Book Is Organized
Conventions Used in This Book
Typeface
Program Output
Special Keystrokes
Systems Used in Preparing This Book
Your System --What You Need