News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

TDM-GCC 4.6 series (Latest: 4.6.1 - 2011-09-23)

Started by TDragon, September 23, 2011, 08:21:03 PM

Previous topic - Next topic

MortenMacFly

Quote from: reckless on February 24, 2012, 08:08:57 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: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

reckless

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.


reckless

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


MortenMacFly

Quote from: reckless on February 24, 2012, 01:48:41 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: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

TDragon

Quote from: MortenMacFly on February 23, 2012, 05:02:14 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?
[url="https://jmeubank.github.io/tdm-gcc/"]https://jmeubank.github.io/tdm-gcc/[/url] - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

MortenMacFly

Quote from: TDragon on February 24, 2012, 07:18:01 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: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

TDragon

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.
[url="https://jmeubank.github.io/tdm-gcc/"]https://jmeubank.github.io/tdm-gcc/[/url] - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

MortenMacFly

Quote from: TDragon on February 24, 2012, 07:39:31 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: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

reckless

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.


xunxun

Quote from: reckless 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.



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

reckless

Quoteow 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.

MortenMacFly

Quote from: xunxun on February 25, 2012, 04:05:03 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: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

reckless

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 :).

ptDev

GCC is now stable at version 4.7.0.
When can we expect a TDM-GCC release based on GCC 4.7.0? :)