User forums > Help
GNU GCC Compiler not working
TDragon:
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.
oz:
--- Quote from: laserbeak43 on June 04, 2007, 11:46:34 pm ---i've downloaded the runtime but i dont see any installers in there...
what do i get? there's no specific information about codeblocks that ive found
--- End quote ---
Download and extract to C:\MinGW, that's all, I just simply packed all necessary together
http://savefile.com/files/753051
laserbeak43:
--- Quote from: TDragon on June 05, 2007, 12:01:18 am ---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.
--- End quote ---
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!!!
TDragon:
:o
I'm embarrassed -- I forgot to include the gcc-core and gcc-g++ packages in the list. So sorry...
laserbeak43:
don't be sorry!
i'll look back to this thread if i ever need to create a MinGW directory again!!! you've taken the time to help lots!
thanks again!!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version