ld||cannot find crtbegin.o: No such file or directory|
ld||cannot find crtend.o: No such file or directory|
C:\MinGW\lib
C:\MinGW\lib\gcc\mingw32\4.5.2
Your compiler installation is broken probably...Either that or you have an older MinGW in the PATH which is used instead of the one you are referring to. Do you have any other MinGW development environment installed that might have changed the PATH?
It does not need to be in path.Sure not, but what I meant was besides the compiler he wants to use there might be another one in parallel in the PATH that got detected and therefore be used...?!
And what I meant is, that any x:\MinGW can interfere with a MinGW installation in another place, because it was (is?) hardcoded to search there.Ah - sorry, I misunderstood. :oops:
it has to be because of a defect in their installer or an incompatibility with Vista/7.To make very sure you can copy the command line from the compiler log (assuming you have full command logging enabled, see my sig) and run it at the Windows command prompt (not using Code::Blocks). Another reason might be a dumb anti-virus solution and/or firewall blocking file operations too restrictive.