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

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: TDM-GCC 4.5 series (Latest: 4.5.2 - 2011-03-27)
« Reply #105 on: April 07, 2011, 03:38:02 am »
Can you confirm that 32-bits libs build with the 32/64-bits edition are compatibles with the 32-bits only edition ?
Yes. But you're responsible for knowing the ABI of any languages and libraries you try to use in this manner, so please don't post any questions or bug reports when you run into problems when doing this.

Quote
I've tried with the 2.8.12, and encountered problems :
...
If UNICODE=1, all works fine.

Is there something I missed, or is this confirmed ?
I haven't tried with 2.8.12.
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 Xaviou

  • Regular
  • ***
  • Posts: 402
    • X@v's wxStuff
Re: TDM-GCC 4.5 series (Latest: 4.5.2 - 2011-03-27)
« Reply #106 on: April 07, 2011, 08:48:11 am »
Hi

Can you confirm that 32-bits libs build with the 32/64-bits edition are compatibles with the 32-bits only edition ?
Yes. But you're responsible for knowing the ABI of any languages and libraries you try to use in this manner, so please don't post any questions or bug reports when you run into problems when doing this.
Of course. Thanks for the response.

Quote
I've tried with the 2.8.12, and encountered problems :
...
If UNICODE=1, all works fine.

Is there something I missed, or is this confirmed ?
I haven't tried with 2.8.12.
Resolved the problem with UNICODE=0 by adding a #include <direct.h> line in src/common/filefn.cpp  and src/common/debugrpt.cpp (thank you reckless for helping me by PM).
So I now can confirm that wxWidgets-2.8.12 can succesfully be build with TDM-GCC 4.5.2 with all classics configurations (I've tried all the 16 differents combinations) :
  • Release / Debug
  • Ansi / Unicode
  • Static / Dynamic
  • Multilib / Monolithic

Thanks again to all

Regards

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

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: TDM-GCC 4.5 series (Latest: 4.5.2 - 2011-03-27)
« Reply #107 on: July 15, 2011, 03:15:29 am »
I was compiling code from http://cboard.cprogramming.com/cplusplus-programming/139494-getconsolescreenbufferinfoex-function.html#post1039300

And, I found,what I think are, a few typos in w64 headers.

Two in file wincrypt.h.
The structure define of CertSelectCertificateChains
Had "cCriteria DWORD," instead of "DWORD cCriteria,"

The structure define of CryptExportPublicKeyInfoFromBCryptKeyHandle
Had "void pvAuxInfo," instead of what I think was meant of "void* pvAuxInfo,"

One in file objbase.h
The prototype of CoGetApartmentType
Had something else instead of "HRESULT WINAPI CoGetApartmentType("

NOTE: I am just a C Programmer; So, you need to verify these are typos.

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 xunxun

  • Almost regular
  • **
  • Posts: 187
Re: TDM-GCC 4.5 series (Latest: 4.5.2 - 2011-03-27)
« Reply #108 on: July 15, 2011, 03:43:01 am »
I was compiling code from http://cboard.cprogramming.com/cplusplus-programming/139494-getconsolescreenbufferinfoex-function.html#post1039300

And, I found,what I think are, a few typos in w64 headers.

Two in file wincrypt.h.
The structure define of CertSelectCertificateChains
Had "cCriteria DWORD," instead of "DWORD cCriteria,"

The structure define of CryptExportPublicKeyInfoFromBCryptKeyHandle
Had "void pvAuxInfo," instead of what I think was meant of "void* pvAuxInfo,"

One in file objbase.h
The prototype of CoGetApartmentType
Had something else instead of "HRESULT WINAPI CoGetApartmentType("

NOTE: I am just a C Programmer; So, you need to verify these are typos.

Tim S.

You can use latest MinGW64 svn.
These have been fixed.
Regards,
xunxun

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: TDM-GCC 4.5 series (Latest: 4.5.2 - 2011-03-27)
« Reply #109 on: July 16, 2011, 05:05:07 am »
Perhaps I'll create a new mingw64-runtime package in the near future.
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 series (Latest: 4.5.2 - 2011-03-27)
« Reply #110 on: July 16, 2011, 06:26:13 am »
Perhaps I'll create a new mingw64-runtime package in the near future.
Hope to upgrade the latest of GCC!
 :)

Offline reckless

  • Regular
  • ***
  • Posts: 338
Re: TDM-GCC 4.5 series (Latest: 4.5.2 - 2011-03-27)
« Reply #111 on: July 17, 2011, 01:09:50 am »
im sure he will :)

in the meantime if you want to try the new gcc i made some builds public on my google code site.

http://mingw-wine.googlecode.com/files/mingw32-gcc-4.6.1-release.7z 32 bit mingw gcc
http://mingw-wine.googlecode.com/files/mingw64-gcc-4.6.1-release.7z 64 bit mingw gcc

both use the mingw 64 runtime so if you plan on upgrading from these you need that as well as binutils built for this arch.
ill make a complete pack soon. still hunting down some strange bug with xunxun in regards to the lto plugin.

Offline Justin Brimm

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: TDM-GCC 4.5 series (Latest: 4.5.2 - 2011-03-27)
« Reply #112 on: July 24, 2011, 06:45:23 am »
I can barely wait until he releases a GCC 4.6.x build; the newest release of GCC has an entirely rewritten Objective-C runtime library that brings it up to Apple's specs, including Obj-C 2.0 support, garbage collection and synchronization. After having used TDM-GCC for so long though, other builds seem lackluster by comparison. I have to admit that I've been spoiled by the full 64 and 32 bit compilation support, as well as the inclusion of (so far) fully functional OpenMP 3.0 and pthreads.