Tag: linking
5 posts
-
[2026] C++ Compilation Process Explained: Preprocess, Compile, Assemble, Link
From C++ source to executable: preprocessing, compilation, assembly, and linking. Where name mangling happens, how symbols resolve, and how Makefiles an...
-
[2026] C++ Linking Explained: Static vs Dynamic Libraries, Symbols, and LTO
How the linker combines object files into executables and libraries. Static vs dynamic linking, undefined reference fixes, -L/-l order, rpath, nm, ldd, ...
-
[2026] C++ Name Mangling Explained: Symbols, extern C, and Linking
How C++ encodes function and variable names for overloading and namespaces. Essential for debugging link errors, mixing C and C++, and ABI concerns.
-
[2026] C++ One Definition Rule (ODR): Multiple Definitions, inline, and Headers
The ODR requires a single definition across the program for variables and functions, with exceptions for inline, templates, and C++17 inline variables. ...
-
[2026] C++ Compilation Process | Compilation Steps Guide
Everything about C++ Compilation Process : from basic concepts to practical applications. Master key content quickly with examples.