gcc main.cpp /tmp/ccF3wuhR.o: In function `__static_initialization_and_destruction_0(int, int)': main.cpp:(.text+0x3d): undefined reference to `std::ios_base::Init::Init()' /tmp/ccF3wuhR.o: In function `__tcf_0': main.cpp:(.text+0x86): undefined reference to `std::ios_base::Init::~Init()' /tmp/ccF3wuhR.o:(.eh_frame+0x11): undefined reference to `__gxx_personality_v0' collect2: ld returned 1 exit status