Author Topic: TDM-GCC 4.2.2 for MinGW  (Read 9939 times)

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
TDM-GCC 4.2.2 for MinGW
« 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
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7590
    • My Best Post
Re: TDM-GCC 4.2.2 for MinGW
« Reply #1 on: October 12, 2007, 06:43:59 am »
Thank You for the Work.
I am downloading it now.

Tim S
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline XayC

  • Multiple posting newcomer
  • *
  • Posts: 94
Re: TDM-GCC 4.2.2 for MinGW
« Reply #2 on: October 12, 2007, 04:37:06 pm »
I was waiting for it, thanks TDragon!

XayC

Offline alchemist

  • Multiple posting newcomer
  • *
  • Posts: 38
    • My Blog
Re: TDM-GCC 4.2.2 for MinGW
« Reply #3 on: October 13, 2007, 05:09:10 pm »
Hello,

How did you build your version?
- cygwin?
- msys?
- canadian cross-build from linux?
- other?
Kind Regards,
Xavier Miller.
http://xaviermiller.be

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: TDM-GCC 4.2.2 for MinGW
« Reply #4 on: October 13, 2007, 07:50:04 pm »
- 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 if you're interested in the build scripts and patches I used.
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: TDM-GCC 4.2.2 for MinGW
« Reply #5 on: October 13, 2007, 08:24:35 pm »
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
Be a part of the solution, not a part of the problem.

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: TDM-GCC 4.2.2 for MinGW
« Reply #6 on: October 13, 2007, 10:18:53 pm »
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.
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

Offline alchemist

  • Multiple posting newcomer
  • *
  • Posts: 38
    • My Blog
Re: TDM-GCC 4.2.2 for MinGW
« Reply #7 on: October 14, 2007, 03:26:40 pm »
- 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 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. ;)
Kind Regards,
Xavier Miller.
http://xaviermiller.be

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: TDM-GCC 4.2.2 for MinGW
« Reply #8 on: October 14, 2007, 04:21:56 pm »
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.
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: TDM-GCC 4.2.2 for MinGW
« Reply #9 on: October 14, 2007, 04:54:20 pm »
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.

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. :)
Be a part of the solution, not a part of the problem.

neokt8

  • Guest
Re: TDM-GCC 4.2.2 for MinGW
« Reply #10 on: November 23, 2007, 10:51:33 am »
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?

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: TDM-GCC 4.2.2 for MinGW
« Reply #11 on: November 23, 2007, 04:56:25 pm »
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 describes how to get things working in C::B.
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)