Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: alb_cb_moon on July 28, 2008, 08:00:43 pm

Title: I confuse about GCC versions
Post by: alb_cb_moon on July 28, 2008, 08:00:43 pm
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...


Title: Re: I confuse about GCC versions
Post by: TDragon on July 28, 2008, 08:15:13 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?
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.
Title: Re: I confuse about GCC versions
Post by: RJP Computing on July 29, 2008, 03:49:10 am
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.

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.
Title: Re: I confuse about GCC versions
Post by: xuedi on August 08, 2008, 12:25:23 pm
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