User forums > Help
Updating to latest GCC using minimalist approach
ontherocks:
Goal: To have the latest CodeBlocks with the latest GCC MinGW, but minimalist i.e. low memory footprint
Steps I have followed:
1. Downloaded and extracted CB_20171209_rev11246_win64.7z to a folder D:\CB
2. Downloaded and extracted wxmsw30u_gcc_cb_wx303_gcc510-TDM-2.7z to the above folder D:\CB
3. Downloaded and extracted codeblocks-16.01mingw-nosetup.zip to a different folder D:\CBNOSETUP
4. Copied the folder D:\CBNOSETUP\MinGW to D:\CB, so now I have D:\CB\MinGW
The GCC version obtained from codeblocks-16.01mingw-nosetup.zip is 4.9.2 and the latest GCC version is 7.2.0. How do I update to 7.2.0?
The size of MinGW folder obtained from codeblocks-16.01mingw-nosetup.zip is 155MB. So I am guessing this is a minimalist MinGW.
I tried to download latest MinGW from MinGW-w64 - for 32 and 64 bit Windows, with the following choices, but the MinGW folder size is 516MB. What do I or do not copy to D:\CB\MinGW from the MinGW-w64 folder?
MinGW folder structure in codeblocks-16.01mingw-nosetup.zip
MinGW folder structure in MinGW-w64 - for 32 and 64 bit Windows
stahta01:
Skip steps 3 and 4.
After step 2, Install the MinGW GCC Compiler you wish to use; do *not* install it inside the CB folder.
Then, open up CB and setup the GCC toolchain to use the location you installed the compiler.
Edit: If you do decide to install it under the CB Folder make sure the MinGW is completely empty before the install or the file copy.
You likely will still need to setup the GCC Toolchain because the exe will likely have different filenames.
Tim S.
ontherocks:
--- Quote from: stahta01 on December 28, 2017, 11:52:29 pm ---Skip steps 3 and 4.
After step 2, Install the MinGW GCC Compiler you wish to use; do *not* install it inside the CB folder.
Then, open up CB and setup the GCC toolchain to use the location you installed the compiler.
Edit: If you do decide to install it under the CB Folder make sure the MinGW is completely empty before the install or the file copy.
You likely will still need to setup the GCC Toolchain because the exe will likely have different filenames.
Tim S.
--- End quote ---
My question was actually not about how to setup the compiler (toolchain or gdb). That is fine.
My question was about how to use minimal MinGW for GCC 7.0.2. I do not want 516MB of stuff occupying my hard disk when I could do away with nonessential stuff.
stahta01:
--- Quote from: ontherocks on December 29, 2017, 05:53:04 am ---
--- Quote from: stahta01 on December 28, 2017, 11:52:29 pm ---Skip steps 3 and 4.
After step 2, Install the MinGW GCC Compiler you wish to use; do *not* install it inside the CB folder.
Then, open up CB and setup the GCC toolchain to use the location you installed the compiler.
Edit: If you do decide to install it under the CB Folder make sure the MinGW is completely empty before the install or the file copy.
You likely will still need to setup the GCC Toolchain because the exe will likely have different filenames.
Tim S.
--- End quote ---
My question was actually not about how to setup the compiler (toolchain or gdb). That is fine.
My question was about how to use minimal MinGW for GCC 7.0.2. I do not want 516MB of stuff occupying my hard disk when I could do away with nonessential stuff.
--- End quote ---
Then ask the people who created the Compiler.
Please read the rules http://forums.codeblocks.org/index.php/topic,9996.0.html
Tim S.
ontherocks:
--- Quote from: stahta01 on December 29, 2017, 10:58:44 am ---
--- Quote from: ontherocks on December 29, 2017, 05:53:04 am ---
--- Quote from: stahta01 on December 28, 2017, 11:52:29 pm ---Skip steps 3 and 4.
After step 2, Install the MinGW GCC Compiler you wish to use; do *not* install it inside the CB folder.
Then, open up CB and setup the GCC toolchain to use the location you installed the compiler.
Edit: If you do decide to install it under the CB Folder make sure the MinGW is completely empty before the install or the file copy.
You likely will still need to setup the GCC Toolchain because the exe will likely have different filenames.
Tim S.
--- End quote ---
My question was actually not about how to setup the compiler (toolchain or gdb). That is fine.
My question was about how to use minimal MinGW for GCC 7.0.2. I do not want 516MB of stuff occupying my hard disk when I could do away with nonessential stuff.
--- End quote ---
Then ask the people who created the Compiler.
Please read the rules http://forums.codeblocks.org/index.php/topic,9996.0.html
Tim S.
--- End quote ---
Why are your getting worked up dude?
Since there is a official release of codebloks that has MinGW prepackaged, so I thought some one would know something about what was packaged.
I am fine if it was just blindly packaged.
Navigation
[0] Message Index
[#] Next page
Go to full version