Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: TDragon on October 12, 2007, 05:30:47 am
-
The official release of GCC 4.2.2 has happened, and following on its heels is TDM's usual unofficial GCC build for MinGW. Binary packages are available as drop-in replacements for the MinGW project's official gcc packages.
As always, I've tested to ensure that it successfully builds wxWidgets (2.8.4) and Code::Blocks SVN.
Full details at http://www.tdragon.net/recentgcc/ .
Note that you should only use this build if you need the features or bugfixes done since GCC 4.2.1. If you don't need them or aren't sure, you should instead use the official MinGW GCC 4.2.1 Technology Preview, or (most preferably) the official MinGW GCC 3.4.5 stable release.
Cheers,
John E. / TDM
-
Thank You for the Work.
I am downloading it now.
Tim S
-
I was waiting for it, thanks TDragon!
XayC
-
Hello,
How did you build your version?
- cygwin?
- msys?
- canadian cross-build from linux?
- other?
-
- canadian cross-build from linux?
That one. :) I do a canadian cross from Ubuntu 7.04 on a VMWare virtual machine. It's actually faster than an mSYS build, which is kind of sad...
Grab the 4.2.2-tdm-1-src-base package from the TDM Sources section on the SF download page (http://sourceforge.net/project/showfiles.php?group_id=200665) if you're interested in the build scripts and patches I used.
-
John E,
I've a question. I compiled the GCC-4.2.2 source in MSYS and later discovered that while compiling wx it gives LTHUNK() error. That bug has been fixed in GCC trunk (4.3. series) but not applied in 4.2.x series. Do you know of any reason behind this? :)
I'm feeling too lazy to manually patch the source and then recompile GCC. ;)
Best Regards,
Biplab
-
That bug has been fixed in GCC trunk (4.3. series) but not applied in 4.2.x series. Do you know of any reason behind this? :)
Afraid not; it may have just dropped off the radar. The full bug report and discussion, plus the patch I use, is in GCC Bugzilla #27067 (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27067).
-
- canadian cross-build from linux?
That one. :) I do a canadian cross from Ubuntu 7.04 on a VMWare virtual machine. It's actually faster than an mSYS build, which is kind of sad...
Grab the 4.2.2-tdm-1-src-base package from the TDM Sources section on the SF download page (http://sourceforge.net/project/showfiles.php?group_id=200665) if you're interested in the build scripts and patches I used.
Thank you John for the information; so the canadian cross-build seems the proper channel to build MINGW gcc/binutils.
Let's hope someone will propose a mingw environment so that mingw could be compiled by itself. ;)
-
Thank you John for the information; so the canadian cross-build seems the proper channel to build MINGW gcc/binutils.
Just the one that I chose. I believe Danny Smith, the former MinGW/GCC release manager, uses Cygwin.
-
That bug has been fixed in GCC trunk (4.3. series) but not applied in 4.2.x series. Do you know of any reason behind this? :)
Afraid not; it may have just dropped off the radar. The full bug report and discussion, plus the patch I use, is in GCC Bugzilla #27067 (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27067).
I read about this patch from your website. Actually I found that the patch differs slightly with the present GCC-4.2.2 source (precisely in gcc/config/i386/winnt.c file). So I just stopped patching and now I'm using your build. :)
-
I've a problem using TDM-CCC-4.2.2 under vista.
what does that mean.
gcc: CreateProcess: No such file or directory
Can't I use TDM-GCC-4.2.2 under vista.
also I missing exeptions can't leave DLL's
what can I do?
-
You can use the official MinGW release of GCC 4.2.1, or you can use the official MinGW release of GCC 3.4.5 with patched drivers. As far as I'm aware, you'll still have to jump through some hoops; this Wiki page (http://wiki.codeblocks.org/index.php?title=Installing_MinGW_with_Vista) describes how to get things working in C::B.