Can someone please explain me the compiling process in detail - which files get written after which files.
g++ main.cpp makes a program called a.exe
But g++ -c main.cpp makes a .o file
There is also this possibility to create a main.s file by g++ -S main.cpp
I want to know the steps that g++ makes to reach from .cpp to .exe and in which order are those .o-s and .s-s and stuff generated.
I searched google, but there was not a single tutorial that answered my questions.
(Maybe you could give me a link to a good place)
Thanks in advance