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

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9496
Re: TDM-GCC 4.6 series (Latest: 4.6.1 - 2011-09-23)
« Reply #45 on: February 24, 2012, 09:02:41 am »
the 64 bit fork is here. http://sourceforge.net/projects/cbadvanced/files/MinGW64-gcc-4.6.2-ada-build.7z/download
I don't need ADA, just C, C++ and GFortran. Do you have such, too? And BTW: Why are the packages so HUGE? GCC-TDM is 350MB uncompressed, while yours are 650MB and more compressed... :o
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline reckless

  • Regular
  • ***
  • Posts: 333
Re: TDM-GCC 4.6 series (Latest: 4.6.1 - 2011-09-23)
« Reply #46 on: February 24, 2012, 12:36:59 pm »
its not just ada its everything besides java and also the dragonegg compiler plugin. and sorry about the size im not sure why my builds end up bigger than TDM's maybe optimization related ? i use -O2. Ill see if i can strip the builds some to get sizes down.


Offline reckless

  • Regular
  • ***
  • Posts: 333
Re: TDM-GCC 4.6 series (Latest: 4.6.1 - 2011-09-23)
« Reply #47 on: February 24, 2012, 01:48:41 pm »
ow forgot the two mingw packages where built by request for quake compilation and include a ton of libraries so thats why they are so large.
i made two minimal versions with just the gcc related libraries. you might like the size of those better.

http://sourceforge.net/projects/cbadvanced/files/mingw64-gcc-4.6.2-dragonegg-minimal.7z/download


Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9496
Re: TDM-GCC 4.6 series (Latest: 4.6.1 - 2011-09-23)
« Reply #48 on: February 24, 2012, 03:36:53 pm »
http://sourceforge.net/projects/cbadvanced/files/mingw64-gcc-4.6.2-dragonegg-minimal.7z/download
OK - I tried that, but that's not exactly what I am looking for. I am looking for the MinGW 64 compiler that can run / link on Win32 but "cross-compile" to Win64. The one in your archive only runs on 64 bit platforms. What I *could* do though is using the libraries provided with your compiler to link against - but that will be error-prone as the compiler I am using for the build differs (GCC-TDM).  :-\

Thanks for the effort anyways though...
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline TDragon

  • Lives here!
  • ****
  • Posts: 936
    • Twilight Dragon Media
Re: TDM-GCC 4.6 series (Latest: 4.6.1 - 2011-09-23)
« Reply #49 on: February 24, 2012, 07:18:01 pm »
It seems the bfd library provided with the 64 bit version of TDM-GCC is incompatible. Is that correct?
This is correct; the libbfd that comes with TDM-GCC's binutils is 32-bit only. What in particular do you need libbfd for?
http://tdm-gcc.tdragon.net/ - TDM-GCC compiler suite for Windows (GCC 5.1.0 2015-06-28, 32/64-bit, no extra DLLs)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9496
Re: TDM-GCC 4.6 series (Latest: 4.6.1 - 2011-09-23)
« Reply #50 on: February 24, 2012, 07:29:43 pm »
This is correct; the libbfd that comes with TDM-GCC's binutils is 32-bit only. What in particular do you need libbfd for?
Thanks for the info. I want to create a 64 bit version of our crash handler (exchndl). I stripped it down to this library dependency.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline TDragon

  • Lives here!
  • ****
  • Posts: 936
    • Twilight Dragon Media
Re: TDM-GCC 4.6 series (Latest: 4.6.1 - 2011-09-23)
« Reply #51 on: February 24, 2012, 07:39:31 pm »
Good to know. I'll try and see about having both 32-bit and 64-bit versions for the next release. In the meantime, any Windows 64-bit version of libbfd should work; you could even build it yourself.
http://tdm-gcc.tdragon.net/ - TDM-GCC compiler suite for Windows (GCC 5.1.0 2015-06-28, 32/64-bit, no extra DLLs)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9496
Re: TDM-GCC 4.6 series (Latest: 4.6.1 - 2011-09-23)
« Reply #52 on: February 24, 2012, 07:44:33 pm »
In the meantime, any Windows 64-bit version of libbfd should work; you could even build it yourself.
Good to know for me. In fact I tried the one shipping with the "official" MinGW/64 GCC but I wasn't sure if I am not doing anything wrong here, because the header files differ from the one of your distribution (namely ansidecl.h, bfd.h and bfdlink.h).
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline reckless

  • Regular
  • ***
  • Posts: 333
Re: TDM-GCC 4.6 series (Latest: 4.6.1 - 2011-09-23)
« Reply #53 on: February 24, 2012, 10:26:58 pm »
np m8 :) and aye my builds are non cross and intended for native builds so tdm's would suit better.
I dont think a lot changed in the bfd library since 4.6.1 so try it out it might work.

Offline xunxun

  • Almost regular
  • **
  • Posts: 187
Re: TDM-GCC 4.6 series (Latest: 4.6.1 - 2011-09-23)
« Reply #54 on: February 25, 2012, 04:05:03 am »
Regards,
xunxun

Offline xunxun

  • Almost regular
  • **
  • Posts: 187
Re: TDM-GCC 4.6 series (Latest: 4.6.1 - 2011-09-23)
« Reply #55 on: February 25, 2012, 04:07:09 am »
its not just ada its everything besides java and also the dragonegg compiler plugin. and sorry about the size im not sure why my builds end up bigger than TDM's maybe optimization related ? i use -O2. Ill see if i can strip the builds some to get sizes down.



I think you use LTO to build all your packages? Or not strip your packages?
Regards,
xunxun

Offline reckless

  • Regular
  • ***
  • Posts: 333
Re: TDM-GCC 4.6 series (Latest: 4.6.1 - 2011-09-23)
« Reply #56 on: February 25, 2012, 07:55:30 am »
Quote
ow forgot the two mingw packages where built by request for quake compilation and include a ton of libraries so thats why they are so large

Had forgotten the above  ::)  i compile with  -O2 -s -ftree-vectorize.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9496
Re: TDM-GCC 4.6 series (Latest: 4.6.1 - 2011-09-23)
« Reply #57 on: February 25, 2012, 09:17:37 am »
http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/
Yes, I stumbled across, these, too. But I don't understand what I need to d/l at best (what is rubenvb, sezer, megasoft78 etc...)? Not to forget what a the differences between "Multilib Toolchains","personal builds" and "automated builds", what is official, what is not...

In my opinion there is just too much of different resources scattered in this download section without explanation. Not offending here, but if I look at TDM's releases, they are just clear and easy to understand / pickup.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline reckless

  • Regular
  • ***
  • Posts: 333
Re: TDM-GCC 4.6 series (Latest: 4.6.1 - 2011-09-23)
« Reply #58 on: February 25, 2012, 05:32:02 pm »
Aye it can be a bit confusing. Multilib builds are like TDM's cross version but with a different layout.
Automated builds are just buildbot builds of there versions.
Sezero etc. Are personal builds with fixes to some problems (or) general improvements to the standard distros.
For instance the ada build has been on the backburner for years because of problems building gnat on windows with mingw64. Turned out the fix was an old TDM patch :).

Offline ptDev

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