How the C++ Linker Works



Twitter ► https://twitter.com/thecherno
Instagram ► https://instagram.com/thecherno
Patreon ► https://patreon.com/thecherno

Series Playlist ► https://www.youtube.com/playlist?list=PLlrATfBNZ98dudnM48yfGUldqGD0S4FFb

How the C++ Compiler Works ► https://youtu.be/3tIqpEmWMLI

BEST laptop for programming! ► http://geni.us/pakTES
My FAVOURITE keyboard for programming! ► http://geni.us/zNhB
FAVOURITE monitors for programming! ► http://geni.us/Ig6KBq

MAIN Camera ► http://geni.us/CYUQ
MAIN Lens ► http://geni.us/ZM3CmG
Microphone ► http://geni.us/wqO6g7K

Slack ► https://slack.thecherno.com
Stream ► http://www.twitch.tv/thecherno
Website ► http://www.thecherno.com
Facebook ► http://www.facebook.com/thecherno

20 thoughts on “How the C++ Linker Works

  1. i tried to link math.cpp and log.cpp but it is showing me this error:

    ccM7aWf4.o:tempCodeRunnerFile.cpp:(.text+0xe): undefined reference to `Log(char const*)'

    collect2.exe: error: ld returned 1 exit status

    Can anybody help?

  2. Hi! I am trying to learn c++ using Dev C++. I dont know why, but when i use "#include "Player.cpp", My program functions how I intended it to, NO ERRORS whatsoever. But I know for a fact that that is UNSAFE. But everytime i use "#include "Player.h"; Two errors appear saying that both my Constructor and Destructor was "undefined reference". Can you help me solve this, please?
    Thank you!

  3. Great work, man. I like how focused these videos are. Gonna binge watch this series, then I'm 100% on-board for the Game Engine playlist. Keep it up!

  4. I have a question, which one is easier to get started with, GCC toolchain or LLVM infrastructure ?
    Asking this coming from a frontend development environment. I would be interested in knowing which ecosystem provides better/more choices of tools for debugging and analysis, performance/runtime time doesn't matter much to me

Leave a Reply

Your email address will not be published. Required fields are marked *