The "MinGW-5.0.2" download under the "Proposed" heading on the (MinGW) downloads page is an installer that will help you install the necessary packages. For best results, however, I recommend doing it by hand -- download binutils-2.17.50-20060824, mingw-runtime-3.11, w32api-3.7, mingw32-make-3.81-1, and gdb-6.3-2. Extract the contents of all the .tar.gz archives an empty directory (usually "C:\MinGW"), and run gdb-6.3-2.exe and install GDB there as well. Then, open Code::Blocks, open the compiler settings, make sure "GNU GCC Compiler" is selected, go to the "Toolchain executables" tab, and hit Auto-detect if you installed everything in C:\MinGW. If you installed it somewhere else, hit the "..." button and select the directory you used. Remove all the directories in the "Search directories" sub-tabs and restart C::B for good measure, and you're set.
hmm
that one didnt work. when i deleted the paths in Search directories' sub tabs and closed codeblocks, they just reappeard. and when i compiled i got the same error. so i cleared them then compiled without closing and it still didnt work.
everything is in C:\MinGW but autodetect didnt detect it. but the same path is entered there so i just left it alone. maybe i should enter it manualy.
ahh there are some files missing in the bin directory:
mingw32-gcc.exe
mingw32-g++.exe
i've downloaded all 5 files you specified. i wonder why it didnt work.
i'll try oz's package.
that did it!!
thanks a lot guys!! you guys you guys know your stuff well!!!