Author Topic: I confuse about GCC versions  (Read 2923 times)

Offline alb_cb_moon

  • Multiple posting newcomer
  • *
  • Posts: 25
I confuse about GCC versions
« 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...


OS: Windows XP SP2
GUI Library: wxWidgets 2.8.10
IDE: CodeBlocks SVN / Nigth Builds Compiler: MinGW & gcc 3.4.5

Offline TDragon

  • Lives here!
  • ****
  • Posts: 936
    • Twilight Dragon Media
Re: I confuse about GCC versions
« Reply #1 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.
http://tdm-gcc.tdragon.net/ - TDM-GCC compiler suite for Windows (GCC 5.1.0 2015-06-28, 32/64-bit, no extra DLLs)

Offline RJP Computing

  • Almost regular
  • **
  • Posts: 135
    • RJP Computing
Re: I confuse about GCC versions
« Reply #2 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.
« Last Edit: July 29, 2008, 05:15:50 am by RJP Computing »
- Ryan

Ubuntu/WinXP, AMD Athlon 64 3000+, 1000MB RAM, AC 97 Audio, ATI Radeon 9600XT 256MB

Offline xuedi

  • Single posting newcomer
  • *
  • Posts: 9
  • www.BeijingLUG.org
    • xuedi’s Carpe Diem LOG
Re: I confuse about GCC versions
« Reply #3 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