Author Topic: TDM-GCC 4.6 series (Latest: 4.6.1 - 2011-09-23)  (Read 65006 times)

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: TDM-GCC 4.6 series (Latest: 4.6.1 - 2011-09-23)
« Reply #60 on: April 09, 2012, 04:39:48 pm »
Hopefully soon. :)
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 killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5490
Re: TDM-GCC 4.6 series (Latest: 4.6.1 - 2011-09-23)
« Reply #61 on: April 09, 2012, 08:03:37 pm »
 ;D

Offline xunxun

  • Almost regular
  • **
  • Posts: 187
Re: TDM-GCC 4.6 series (Latest: 4.6.1 - 2011-09-23)
« Reply #62 on: April 10, 2012, 08:13:10 am »
GCC is now stable at version 4.7.0.
When can we expect a TDM-GCC release based on GCC 4.7.0? :)

I think TDM is better to build 4.7 when the bug http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52465 is fixed. The bug can prevent WebKit from building.

And at present, 4.7 can't build Code::Blocks trunk : http://forums.codeblocks.org/index.php/topic,16039.0.html  
Hope Jens will fix it soon.
Regards,
xunxun

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: TDM-GCC 4.6 series (Latest: 4.6.1 - 2011-09-23)
« Reply #63 on: April 10, 2012, 05:27:06 pm »
Neither of these are actual reasons against a TDM 4.7 build, if you ask me.

The Code::Blocks (or rather Squirrel) issue is not GCC's fault, it's code relying on non-conforming behaviour that breaks. The new behaviour is correct.
The WebKit issue seems to be a GCC bug indeed, but one that will only affect few people. On the other hand, the new version has a lot of very useful and eagerly anticipated features, which in my opinion by far outweight the sporadic bugs.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline Justin Brimm

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: TDM-GCC 4.6 series (Latest: 4.6.1 - 2011-09-23)
« Reply #64 on: April 15, 2012, 12:10:04 am »
Frankly, as long as GCC doesn't break any Objective-C features and continues to improve the runtime, I see no problem with the newest release, bugs and all.

Offline Master

  • Multiple posting newcomer
  • *
  • Posts: 53
Re: TDM-GCC 4.6 series (Latest: 4.6.1 - 2011-09-23)
« Reply #65 on: April 16, 2012, 09:41:35 pm »
any news on the gcc 4.7.0 ?
im really eager to get my hands on it using TDMs build :)
and thank you for your great work :)
a man's dream is an index to his greatness...

Offline reckless

  • Regular
  • ***
  • Posts: 338
Re: TDM-GCC 4.6 series (Latest: 4.6.1 - 2011-09-23)
« Reply #66 on: April 17, 2012, 06:36:01 am »
Not TDM's but uses some of his patches.

http://sourceforge.net/projects/cbadvanced/files/gcc32-4.7.0.7z/download
http://sourceforge.net/projects/cbadvanced/files/gcc64-4.7.0.7z/download

Very hard to build on windows atm due to some bugs with detection of system headers, bootstrapping is a complete nogo so this is a non bootstrap build.
Builds contain ada support for both 32 and 64 bit arch.

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: TDM-GCC 4.6 series (Latest: 4.6.1 - 2011-09-23)
« Reply #67 on: April 17, 2012, 08:51:03 am »
Very hard to build on windows atm
Heh, as if building gcc had ever not been a total pain in the ass.  ::)

But, if it's even more borked than usual, that's no good news.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline reckless

  • Regular
  • ***
  • Posts: 338
Re: TDM-GCC 4.6 series (Latest: 4.6.1 - 2011-09-23)
« Reply #68 on: April 17, 2012, 01:32:21 pm »
Aye newer been easy but now its just silly :S stage 1 works but in stage 2 it looses track of system headers and states that there are none no matter where you put em lol  ::)
it also refuses to build libcpp unless you make a hardcopy of cpp.exe in /usr/lib...
From testing i can say that C works fine but C++ seems to have some weird behaviour compared to earlier releases (cannot build C::B without -fpermissive and the patch for squirrel for one and the executable crashes with 0x00005 error). Atleast the header composition bug was posted so might be fixed sometime soon. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52947

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: TDM-GCC 4.6 series (Latest: 4.6.1 - 2011-09-23)
« Reply #69 on: April 17, 2012, 04:23:04 pm »
See, that's what I'm always saying about the downsides of universality, portability and localization, and all that stuff.

Gcc builds on what, 50 different host architectures, for 25 targets, with cross and whatnot, and handles what, 20 programming languages and output in 30 character sets and 135 languages? Great.
However, you cannot get it to build on the single most common host in the world, for the single most common host/target combination, with the two most used languages.  ::)

Though I have to admit that I once managed, after burning weeks of time, to get a 3/4 build (cross, from Debian) done. Except 3/4 through the build is as good as 0/4   8)
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline reckless

  • Regular
  • ***
  • Posts: 338
Re: TDM-GCC 4.6 series (Latest: 4.6.1 - 2011-09-23)
« Reply #70 on: May 09, 2012, 05:26:25 am »
Just a heads up for john if he works on 4.7.0 the shmem patch needs to be modified a bit since the stuff it changes has moved into the libgcc folder. Also a few of the names where changed. I got it fixed and it compiles ok.

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: TDM-GCC 4.6 series (Latest: 4.6.1 - 2011-09-23)
« Reply #71 on: May 09, 2012, 02:20:28 pm »
If you'd like to attach or PM me the modified version, I'll compare it to mine to see if I missed anything. :)
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 reckless

  • Regular
  • ***
  • Posts: 338
Re: TDM-GCC 4.6 series (Latest: 4.6.1 - 2011-09-23)
« Reply #72 on: May 11, 2012, 08:15:25 pm »
pm'ed the modfied patch not sure if you noticed it yet ?.

i removed the magic you had in libstdc++ makefile.in because it needs to be modified as well (now 3 seperate libraries instead of one in libsupc++ gets linked into the final libsupc++ library). It works ok without it but i guess you had your reasons to split it up in seperate shared/static elements.

Unfortunatly anything linking to libstdc++ will crash on win7 64 (not sure if it also does so on Win7 32) but its not related to your patch the unmodified version also crashes.
This affects both static and shared builds so its really a bug in libstdc++. As an experiment try replacing something that was linked to the shared libstdc++ with the libstdc++ dll from a previous version. With the gcc-4.7.0 libstdc++ i get the application has stopped working but if i replace it with the gcc-4.6.3 one it works.