With/Without librairies, makefiles, several files, etc.
I'm a truly beginner with this and I didn't understand a damn thing.
Thanks !
With/Without librairies, makefiles, several files, etc.
I'm a truly beginner with this and I didn't understand a damn thing.
Thanks !
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (6)
To dig a bit deeper, the process of building a program consists actually of 2 parts:
Compiling is converting each C file into machine code ( objects), and
Linking is putting all the objects together to create the executable file.
Libraries are (mostly) just prebuilt object files someone else prepared for you.
What is the role of the OS here? Does it interfere with the type of machine code? Does the compiler require to link additional libraries in order to run the program on certain os?
Thanks ! Very helpful !
Lovely.