Author Topic: TDM-GCC 4.5 series (Latest: 4.5.2 - 2011-03-27)  (Read 102616 times)

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
TDM-GCC 4.5 series (Latest: 4.5.2 - 2011-03-27)
« on: June 08, 2010, 05:35:54 am »
The post below refers to a previous release of TDM-GCC. For the announcement of the latest release, see this post.



Greetings!

TDM-GCC 4.5.0 is now available!
TDM-GCC finally returns with even more goodness packed into one easy-to-use Windows installer.

The TDM release of GCC 4.5.0 is now available for download. As always, I've tested it on wxWidgets (2.8.11) and Code::Blocks SVN (6298) to ensure good compatibility. Among other patches, I've *reversed* the GCC change that caused an out-of-memory problem building wxWidgets due to the forced emission of class inline functions in DLL code. This means you shouldn't have to perform any unusual steps when building wxWidgets.

The most important feature is a new edition of TDM-GCC:
Along with the classic MinGW 32-bit edition, a new TDM64 edition is also available. This edition is based on the MinGW-w64 runtime API and the x86_64-w64-mingw32 GCC target, and can create both 32-bit and 64-bit code, with the "-m32"/"-m64" compiler flags. Please be aware, if you build Code::Blocks yourself, that it only works as 32-bit code ("-m32") on Windows, currently -- though that will hopefully change soon. Also, please never mix 32-bit object files (.o), libraries (.a), DLLs, or EXEs with 64-bit versions, and don't report it as a bug if you inadvertently do.

More information and downloads are available at <http://tdm-gcc.tdragon.net/>. TDM-GCC includes support for C, C++, Fortran, Objective-C/C++, and Ada (MinGW edition only), as well as support for the OpenMP multithreading extensions, packaged in a simple Windows installer.

Disclaimer:
As always, please remember:
  • TDM-GCC is not formally affiliated with or endorsed by the MinGW project.
  • No level of support for TDM-GCC is in any way guaranteed (although a best effort is made to fix bugs as they are found or forward them to GCC Bugzilla).

Cheers,
John E. / TDM
« Last Edit: March 28, 2011, 04:52:27 am by TDragon »
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 ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5913
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: TDM-GCC 4.5.0 32- and 64-bit editions released
« Reply #1 on: June 08, 2010, 05:57:07 am »
Thanks John.
Very nice work and I found your tdb-gcc website has a new frame.  :D
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: TDM-GCC 4.5.0 32- and 64-bit editions released
« Reply #2 on: June 08, 2010, 07:04:56 am »
TDM-GCC 4.5.0 is now available!
THANKS, thanks thanks!
I like the C::B logo on your page btw... ;-)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: TDM-GCC 4.5.0 32- and 64-bit editions released
« Reply #3 on: June 08, 2010, 07:29:39 am »
As always : thank you very much, you are the best.


Question : is the level of c++0x support the same as in the linux gcc versions ?

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: TDM-GCC 4.5.0 32- and 64-bit editions released
« Reply #4 on: June 08, 2010, 08:48:58 am »
Just to be sure if all this is intended.

The download links for 32 bit and 64 bit both take me to the same file, at least a file with the same name (and after download equal size).
The name of the downloaded file is : tdm-mingw-1.908.0-4.4.1-2.exe

Questions :
- shouldn't there be 2 different installers (with different names, to clearly make the distinction 32 bit versus 64 bit) ?
- how come still the reference in the name to 4.4.1 ?
- or am I getting incorrect download links ?

Cheers

Offline ptDev

  • Almost regular
  • **
  • Posts: 222
Re: TDM-GCC 4.5.0 32- and 64-bit editions released
« Reply #5 on: June 08, 2010, 09:16:43 am »
Greetings!

TDM-GCC 4.5.0 is now available!

...

Among other patches, I've *reversed* the GCC change that caused an out-of-memory problem building wxWidgets due to the forced emission of class inline functions in DLL code.
...

Thank you so much!!! :D

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: TDM-GCC 4.5.0 32- and 64-bit editions released
« Reply #6 on: June 08, 2010, 04:49:10 pm »
if on sourceforge you ask the list of all files you can find these 2 :

tdm-gcc-4.5.0.exe           27.2 MB     2010-06-08     44     
tdm64-gcc-4.5.0.exe       26.4 MB    2010-06-08    7

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: TDM-GCC 4.5.0 32- and 64-bit editions released
« Reply #7 on: June 08, 2010, 05:20:15 pm »
I botched the download links on the website, sorry. Now fixed.
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 TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: TDM-GCC 4.5.0 32- and 64-bit editions released
« Reply #8 on: June 08, 2010, 05:32:16 pm »
Question : is the level of c++0x support the same as in the linux gcc versions ?
Almost but not quite. Support for std::thread currently relies on POSIX threads in libstdc++, which will require a configuration change at least. I haven't tried it yet. Most other C++0x features should work.
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 Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: TDM-GCC 4.5.0 32- and 64-bit editions released
« Reply #9 on: June 08, 2010, 06:38:40 pm »
WoWoW...cool!

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: TDM-GCC 4.5.0 32- and 64-bit editions released
« Reply #10 on: June 08, 2010, 08:44:35 pm »
Almost but not quite. Support for std::thread currently relies on POSIX threads in libstdc++, which will require a configuration change at least. I haven't tried it yet. Most other C++0x features should work.
hm, std::thread is implemented in 4.5.0... ah, it is not listed on the c++-0x status page...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: TDM-GCC 4.5.0 32- and 64-bit editions released
« Reply #11 on: June 08, 2010, 09:50:46 pm »
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 UsYer

  • Single posting newcomer
  • *
  • Posts: 5
Re: TDM-GCC 4.5.0 32- and 64-bit editions released
« Reply #12 on: June 08, 2010, 10:03:42 pm »
Hi,
just one question. Is lto enabled in your build? Because as I tried it with the -lto switch I encounter this error :"cc1plus.exe: error: LTO support has not been enabled in this configuration"
Tanks in advance

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: TDM-GCC 4.5.0 32- and 64-bit editions released
« Reply #13 on: June 09, 2010, 12:42:49 am »
You've answered your own question. I may attempt to enable it in a future build.
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 UsYer

  • Single posting newcomer
  • *
  • Posts: 5
Re: TDM-GCC 4.5.0 32- and 64-bit editions released
« Reply #14 on: June 09, 2010, 07:36:06 am »
Okay, thanks for your answer. I thought that there could have been another switch or something which i forgot to turn on.
Anyway, I'm really appreciating your work and I hope there will be a lto enabled version in the future.

regards