I want to build \"gcc cross-compiler\" to compile \"c/c++\" applications on \"Linux\" environment but for \"Windows\" target.
I have made this so far:
That's actually OK: the way things go, you need to
dllcrt2.o)You have successful performed step 3 above; it fails building libgcc (which is a GCC support library), but that means the C compiler core is functionnal (although it won't be able to link, it can still create valid object files). You can check that by looking at the gcc/xgcc file in your GCC build directory.
So, you need to go to the next step, not worrying about your current failure.
(To actuall install the partial C compiler, you should run make with the -k option, to have it do it best, even in the face of errors. For example, use make -k install.)