It will also display errors if there was a problem linking with your program. It's about gathering all dependencies and linking them together in your code in order to produce an executable file.
This is where the compiler will link together object modules and external libraries into your program. Machine language is binary.Īfter the source code has been compiled into object code, your program will go through the 'linking' process. Machine code is a program written in machine language. Object code is a portion of machine code. Source code is what is written in a text editor using a programming language.ĭuring compilation, the source code is converted into object code. In order for us to send instructions to the CPU in the C programming language, we need to compile source code. The only instructions it can understand are in machine language. It executes the instructions it receives. The instruction set is the bridge between software and hardware. Program Execution ProcessĪ computer needs to be told what to do. When you begin configuring your working environment for C, you will learn more about computer architecture, program execution, file types, the IDE, and what the compiler will be doing. In this blog, I will walk through configuring your environment to function with C in VS Code on macOS.