As said earlier, some code isn’t available at this point : the code from dynamic libraries. When you launch the executable, the OS will open the. When the linker has run, you have an executable (.exe on Windows. lib doesn’t contain any x86 code it simply says “I swear that functions Foo, Bar and WhatsNot will be available at runtime”. Some library are dynamic ( also said shared ). The linker takes all the binary code (yours, and the one from external libraries), and generates the final executable. Note that we don’t have an executable yet : one remaining step is needed. cpp file is compiled separately, and the resulting binary code is written in.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |