User forums > General (but related to Code::Blocks)

I confuse about GCC versions

(1/1)

alb_cb_moon:
I have a confusion with GCC's versions, I install and build CodeBlocks from sources in WindowsXP SP2, maybe 1 or 2 month ago,  follow the instruccions in the web page. I use wxWidgets 2.8.7 and MinGW Installer 5.1.3, It install mingw32-gcc-3.4.5.

Now with the new wxWidgets version 2.8.8, I see in wxPack website that the last version only support GCC 4.2.1, then...  what is the "Official" gcc version of codeblocks?

I don't have problems with the compiler but I only build examples, nothing complex apart from codeBlocks...


TDragon:

--- Quote from: alb_cb_moon on July 28, 2008, 08:00:43 pm ---Now with the new wxWidgets version 2.8.8, I see in wxPack website that the last version only support GCC 4.2.1, then...  what is the "Official" gcc version of codeblocks?

--- End quote ---
GCC 3.4.5.

As I recall, the bundled C::B installer will install GCC 3.4.5-20060117-2, a.k.a. 3.4.5 (mingw special r2). The latest MinGW 3.4.5 release is 3.4.5-20060117-3, a.k.a. 3.4.5 (mingw special r3).

The MinGW project released a Technology Preview of GCC 4.2.1, which the builder of wxPack has apparently adopted for daily use. This version is unstable and has known bugs.

RJP Computing:

--- Quote from: TDragon on July 28, 2008, 08:15:13 pm ---The MinGW project released a Technology Preview of GCC 4.2.1, which the builder of wxPack has apparently adopted for daily use. This version is unstable and has known bugs.

--- End quote ---

So does Gcc 3.4.5 ;) (I know you are sympathetic to new versions of MinGW GCC ;) ) I actually find the 4.2.1 compiler much better at finding issues with code. That is why I use it.

xuedi:
Hello,

GCC 4.2 has also a lot of new features for ex. AVR compiler and that stuff, it optimise the code also better. If you have a little RAM in your machine, i would suggest that you install a VM like VirtualPC and install in there ubuntu (the CB-deb is excelent), then you can share the project folder and use the native GCC, you can also test much better (IF you do cross platform programming ^^)

xuedi

Navigation

[0] Message Index

Go to full version