Author Topic: TDM-GCC 4.9 series (Latest: 4.9.2-tdm-1 - 2014-12-08)  (Read 49401 times)

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: TDM-GCC 4.9 series (Latest: 4.9.2-tdm-1 - 2014-12-08)
« Reply #15 on: December 13, 2014, 09:15:35 pm »
Well, last time I tried compiling C::B 64-bit I ran into problems. Looks like some progress has been made. I was able to compile and run wxWidgets 2.8.12 and C::B svn10050 under 4.9.2-tdm64-1 with no problems. :)

(I used CXXFLAGS=-fpermissive for the wxWidgets build; no special flags for C::B).

-John E. / TDM

[attachment deleted by admin]
« Last Edit: December 13, 2014, 09:18:55 pm 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)

EduardoLM

  • Guest
Re: TDM-GCC 4.9 series (Latest: 4.9.2-tdm-1 - 2014-12-08)
« Reply #16 on: December 14, 2014, 02:53:16 am »
TDMGCC 4.9.2 is also working well with wxWidgets 3.0.2. The only detail I had to change was adding -std=c++11 to CXXFLAGS. Other than that, compilation of wxWidgets was free of problems.

To build wxWidget apps, it's also necessary to add -std=c++11.

Eduardo

Offline Xaviou

  • Regular
  • ***
  • Posts: 402
    • X@v's wxStuff
Re: TDM-GCC 4.9 series (Latest: 4.9.2-tdm-1 - 2014-12-08)
« Reply #17 on: December 15, 2014, 09:26:06 am »
Hi
I'm happy to present:

TDM-GCC 4.9.2

Thank you for the great job provided.

Just one thing : some links are wrong on your download page.
In the "TDM32 Packages" list : there is a problem with the following :
  • gdb-7.6.1-1-mingw32-bin.tar.lzma
  • zlib-1.2.8-1-mingw32-dll.tar.lzma
I didn't have any problem with the "TDM64 Packages list".

Regards
Xav'
The french wxWidgets site : http://www.wxdev.fr
My wxWidgets's stuff : https://wxstuff.xaviou.fr/

Offline gd_on

  • Lives here!
  • ****
  • Posts: 796
Re: TDM-GCC 4.9 series (Latest: 4.9.2-tdm-1 - 2014-12-08)
« Reply #18 on: December 15, 2014, 03:28:02 pm »
Almost OK now.
C::B and wxwidget 2.8.12, both compiled in 32 bits with TDM 32, are OK all different PC I tried (at home and at work)
C::B and wxwidget 2.8.12, both compiled in 64 bits with TDM 64, are OK on different PC (at home and at work) but at work, there is at least one PC which has a problem with this TDM version. Why, I don't know. Probably a conflict with something, but I have not been able to locate it.
Gdb in 32 and 64 bits look OK now.
Thanks John :D

gd_on
Windows 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.4 (tests with 3.3), Msys2 Compilers 13.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline Goofus Maximus

  • Single posting newcomer
  • *
  • Posts: 5
Re: TDM-GCC 4.9 series (Latest: 4.9.2-tdm-1 - 2014-12-08)
« Reply #19 on: December 15, 2014, 06:39:29 pm »
TDMGCC 4.9.2 is also working well with wxWidgets 3.0.2. The only detail I had to change was adding -std=c++11 to CXXFLAGS. Other than that, compilation of wxWidgets was free of problems.

To build wxWidget apps, it's also necessary to add -std=c++11.

Eduardo
I had to use CXXFLAGS="-std=gnu++11" rather than "-std=c++11" to get wxwidgets 3.0.2 (debug) to successfully build with the 4.9 version.  With 4.8.1, I never had to use any CXXFLAGS  at all to build wx 3.0.2.  Is 4.9 just more finicky than 4.8?

At least I learned how to add flags to the compiler options checkbox list at last, and modify existing ones, to add gnu++11 to the c++XX options already there, and keep them from stepping on each other's toes, so to speak, with the "superceded" lists.

Edit: Who knew all that was hiding behind the right-click button? ;)
« Last Edit: December 15, 2014, 09:19:03 pm by Goofus Maximus »

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: TDM-GCC 4.9 series (Latest: 4.9.2-tdm-1 - 2014-12-08)
« Reply #20 on: December 16, 2014, 12:26:06 am »
Just one thing : some links are wrong on your download page.
In the "TDM32 Packages" list : there is a problem with the following :
  • gdb-7.6.1-1-mingw32-bin.tar.lzma
  • zlib-1.2.8-1-mingw32-dll.tar.lzma
Thanks for the report! These links are now fixed.

-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 MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: TDM-GCC 4.9 series (Latest: 4.9.2-tdm-1 - 2014-12-08)
« Reply #21 on: December 18, 2014, 05:08:40 am »
Great once again, John!
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 MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: TDM-GCC 4.9 series (Latest: 4.9.2-tdm-1 - 2014-12-08)
« Reply #22 on: December 19, 2014, 10:47:08 am »
Great once again, John!
One thing I noticed: The BFD stuff (bfd.h, libbfd.a and so on) is missing. Is this on purpose? Whats the reason?
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 TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: TDM-GCC 4.9 series (Latest: 4.9.2-tdm-1 - 2014-12-08)
« Reply #23 on: December 20, 2014, 04:41:40 pm »
TDM-GCC is a minimalist distribution without any extraneous files or supplemental libraries. I removed the development libraries generated by binutils & GDB because they weren't necessary to use GCC or GDB.

-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 ptDev

  • Almost regular
  • **
  • Posts: 222
Re: TDM-GCC 4.9 series (Latest: 4.9.2-tdm-1 - 2014-12-08)
« Reply #24 on: January 16, 2015, 03:17:17 pm »
Superb work, as always.

Just a question: Would you consider setting the flag -std=c++11 as active for g++ by default in the next release?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: TDM-GCC 4.9 series (Latest: 4.9.2-tdm-1 - 2014-12-08)
« Reply #25 on: January 16, 2015, 06:37:09 pm »
Superb work, as always.

Just a question: Would you consider setting the flag -std=c++11 as active for g++ by default in the next release?

I think doing -std=gnu++11 would be better and safer than  -std=c++11.

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 oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: TDM-GCC 4.9 series (Latest: 4.9.2-tdm-1 - 2014-12-08)
« Reply #26 on: January 16, 2015, 11:34:37 pm »
Just a question: Would you consider setting the flag -std=c++11 as active for g++ by default in the next release?
Nope, if you ask me. It is up to the compiler's vendor to decide if c++11 support is safe to use as the default mode.
(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.9 series (Latest: 4.9.2-tdm-1 - 2014-12-08)
« Reply #27 on: January 17, 2015, 12:16:17 am »
It is up to the compiler's vendor to decide if c++11 support is safe to use as the default mode.
I concur.  :)

When GCC's developers implement the change, TDM-GCC will.

-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 thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: TDM-GCC 4.9 series (Latest: 4.9.2-tdm-1 - 2014-12-08)
« Reply #28 on: January 19, 2015, 11:23:33 am »
Quote
On windows, wxWidgets does NOT officially support 2.8 as being 64 bit compatible.
I have already seen this information. Nevetheless, I have myself compiled wxwidgets 2.8.12 in 64 bits
I can hardly believe that, since wxWidgets 2.8 contains code that casts pointers to int. Which of course doesn't work too well under 64 bits, even if you somehow get the compiler to do this without bailing out.

That said, I've not been successful at compiling any version of wxWidgets with the most recent TDM compilers, neither 32 nor 64.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: TDM-GCC 4.9 series (Latest: 4.9.2-tdm-1 - 2014-12-08)
« Reply #29 on: January 19, 2015, 12:45:12 pm »
That said, I've not been successful at compiling any version of wxWidgets with the most recent TDM compilers, neither 32 nor 64.
This is what I hate about wxWidgets... I just tried again because I was sure someone would ask "What error exactly...?" and I wouldn't remember.

So I ran the same batch file that I've been using to build wxWidgets for 8 or 10 years, which of course fails with the most recent TDM compiler, and now it built just fine with the most recent TDM compiler.

How can building a piece of software be non-deterministic, this is beyond me? Only wxWidgets is ever giving me this trouble.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."