User forums > Help

How to upgrade Gcc in code blocks .?

(1/2) > >>

rahul8590:
I have a very old Gcc compiler version 0.99 and i want to upgrade it , i wold be glad if you could help me out .

koso:
You have to:

1. download and install compiler. There are many available (MinGW, Cygwin).
2. Open Compiler And Debugger configuration in Code::Blocks and modify compiler settings. There are two possibilities. Either you modify existing "compiler", or you add new => using second, you will be able to use both old and new compiler.

rahul8590:
about that download and install . I found the plugin settings  with the install new option in it . But i dont know wat exactly to download for the new installation, cuz when i saw the installation folder in sourceforge.net  , it had many files and i was completely baffled on which one to pick on .
I would be glad if you could help me out .

koso:
This is direct link to MinGW installer: http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/MinGW%205.1.6/MinGW-5.1.6.exe/download

Aras:
This is how I did it:

1) downloaded actual minGW and installed it
   e.g. installs to:
   "C:\Program Files (x86)\mingw-w64\i686-7.1.0-posix-dwarf-rt_v5-rev1"

2) CodeBlocks: modify compiler + debugger path and exe's:
   a) Settings|Compiler -> modify as in attached JPG
   a) Settings|Debugger -> modify as in attached JPG
   Do NOT press "Auto-detect"!!

3) DONE! C++11 fully supported (e.g. to_string(), stof() etc.)!

Good luck everybody!

Navigation

[0] Message Index

[#] Next page

Go to full version