Author Topic: FYI: GCC 4.5.0 on Mingw.org  (Read 100784 times)

Offline reckless

  • Regular
  • ***
  • Posts: 353
Re: FYI: GCC 4.5.0 on Mingw.org
« Reply #60 on: May 24, 2010, 02:46:29 pm »
sounds plausible seing as mingw64 eventually will run into this problem at some time also (damn more patching)  :lol:

Offline idblew

  • Multiple posting newcomer
  • *
  • Posts: 27
Re: FYI: GCC 4.5.0 on Mingw.org
« Reply #61 on: May 24, 2010, 03:22:19 pm »
It will work on Windows 64-bit (tested and confirmed working), but not on Windows 32-bit unless you specify the /3GB swtich in BOOT.INI (untested)
« Last Edit: May 24, 2010, 04:32:23 pm by idblew »

Offline mgpensar

  • Single posting newcomer
  • *
  • Posts: 6
Re: FYI: GCC 4.5.0 on Mingw.org
« Reply #62 on: May 24, 2010, 11:05:57 pm »
Hi,

I was able to compile wxwidgets 2.8.11 with gcc-4.5.0, however, the minimal application crashes with 0xc00000005 error (app not properly initialized).
Windows XP professional service pack 3 on a Pentium 4 CPU 2.8GHz 1GB RAM.

Does anybody was able to get wx working with mingw gcc-4.5.0-1 release (2010-04-19 in source forge) ?
Should I try to use a version from the version control repository ? I do not see a 4.5.0-2 in the souceforge download site.

Any suggestion is very much welcome. Thanks !
Mau.

mgpensar at gmail.com

Offline reckless

  • Regular
  • ***
  • Posts: 353
Re: FYI: GCC 4.5.0 on Mingw.org
« Reply #63 on: May 25, 2010, 03:08:38 am »
a few of us have uploaded versions of gcc-4.5.0 and binutils-0.20.1 with this fixed i have a version and loaden has one loadens is probably the easiest to get going with since mine uses a different runtime than mingw and relies on sysroots.

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: FYI: GCC 4.5.0 on Mingw.org
« Reply #64 on: August 02, 2010, 04:04:56 am »

Offline ptDev

  • Almost regular
  • **
  • Posts: 222
Re: FYI: GCC 4.5.0 on Mingw.org
« Reply #65 on: August 02, 2010, 09:45:04 am »
4.5.1 released.
http://gcc.gnu.org/gcc-4.5/

From the change list:

Quote from: GCC4.5.1
This is the list of problem reports (PRs) from GCC's bug tracking system that are known to be fixed in the 4.5.1 release. This list might not be complete (that is, it is possible that some PRs that have been fixed are not listed here).

All languages

GCC's new link-time optimizer (-flto) now also works on a few non-ELF targets:

Cygwin (*-cygwin*)
MinGW (*-mingw*)
Darwin on x86-64 (x86_64-apple-darwin*)
LTO is not enabled by default for these targets. To enable LTO, you should configure with the --enable-lto option.

nice :)

Offline a14331990

  • Multiple posting newcomer
  • *
  • Posts: 34
Re: FYI: GCC 4.5.0 on Mingw.org
« Reply #66 on: August 02, 2010, 05:23:27 pm »
Successfully built (using my build of mingw gcc 4.5.0, gcc45-leo.7z, located at http://code.google.com/p/qp-gcc/downloads/list)
binutils 2.20.51.20100801
gcc 4.5.1
gdb-7.2.50.20100802
wxWidgets 2.8.10
boost 1.43
codeblocks r6435
on this afternoon. 8)
dll linking and LTO are all OK. :D
All patches utilized will be uploaded to somewhere soon.
Dear moderator of this forum, can I upload it here?  
« Last Edit: August 03, 2010, 12:28:20 am by a14331990 »

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: FYI: GCC 4.5.0 on Mingw.org
« Reply #67 on: August 02, 2010, 08:04:07 pm »
All patches utilized will be uploaded to somewhere soon.
Dear moderator of this forum, can I upload it here? 
If these are C::B patches, then yes. Otherwise: No. We don't have endless forums space you know. But you can surely use a filesharing homepage for this...
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 reckless

  • Regular
  • ***
  • Posts: 353
Re: FYI: GCC 4.5.0 on Mingw.org
« Reply #68 on: August 02, 2010, 10:21:51 pm »
also uploaded latest version on http://code.google.com/p/mingw-wine look for mingw-w32.exe (kgb self extracting archive. done due to site size limit issue).

will make a diff of my modifications to the mingw64 runtime (rather simple really just removes using mingw path/host/include and lib etc. and instead use gcc's include and lib paths).

binutils 2.20.51 from mingw.org includes the patches allready :)

gcc was patched with johns patches for tdm and the lto patch.

crt includes directx and ddk. note the ddk from mingw64 has some headers in other places than the ddk from mingw so you may have to doublecheck your code if you need the ddk.

skipped java in this build as its pretty broken atm on win32. left ada in as it might be handy and it works.

works very well so far :)

 

Offline a14331990

  • Multiple posting newcomer
  • *
  • Posts: 34
Re: FYI: GCC 4.5.0 on Mingw.org
« Reply #69 on: August 03, 2010, 12:19:56 am »
All patches utilized will be uploaded to somewhere soon.
Dear moderator of this forum, can I upload it here?  
If these are C::B patches, then yes. Otherwise: No. We don't have endless forums space you know. But you can surely use a filesharing homepage for this...
Thanks for reminding me.
    All patches have been already uploaded to qp-gcc's page and my page
http://code.google.com/p/qp-gcc/downloads/list
http://code.google.com/p/a1mingwgcc/downloads/list
Please help testing them.
     Binaries and Sources will also be uploaded to qp-gcc's page or my page soon
http://code.google.com/p/a1mingwgcc/
Best Regards.
a14331990 a.k.a Leo

Already uploaded 8)
http://code.google.com/p/a1mingwgcc/wiki/InstructionsForMinGWGCC451
http://code.google.com/p/a1mingwgcc/downloads/list
Please help testing them.
« Last Edit: August 03, 2010, 05:12:00 am by a14331990 »

Offline reckless

  • Regular
  • ***
  • Posts: 353
Re: FYI: GCC 4.5.0 on Mingw.org
« Reply #70 on: August 08, 2010, 12:32:55 am »
hmm spoke to soon wxwidgets cant be compiled as a monolithic dll again with 4.5.1 they changed the code so the patch to undo it can not be applied ouch.

looks like they tried to get smart about checking if inline was really needed commendable but its broken with wxwidgets  :lol:

Online stahta01

  • Lives here!
  • ****
  • Posts: 7785
    • My Best Post
Re: FYI: GCC 4.5.0 on Mingw.org
« Reply #71 on: August 08, 2010, 02:16:30 am »
What version of 7z was used on binutils-2.20.51.20100801-bin.7z? I could not unzip it.

From http://a1mingwgcc.googlecode.com/files/binutils-2.20.51.20100801-bin.7z

I was able to unzip gcc451-bin-leo.7z

Trying to download binutils a second time. Error-ed out the second time also.

Tim S.

« Last Edit: August 08, 2010, 02:20:22 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6077
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: FYI: GCC 4.5.0 on Mingw.org
« Reply #72 on: August 09, 2010, 01:45:23 am »
What version of 7z was used on binutils-2.20.51.20100801-bin.7z? I could not unzip it.

From http://a1mingwgcc.googlecode.com/files/binutils-2.20.51.20100801-bin.7z

I was able to unzip gcc451-bin-leo.7z

Trying to download binutils a second time. Error-ed out the second time also.

Tim S.



Hi, I can unzip it correctly, I'm using 7-zip 9.15 beta version.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline a14331990

  • Multiple posting newcomer
  • *
  • Posts: 34
Re: FYI: GCC 4.5.0 on Mingw.org
« Reply #73 on: August 09, 2010, 03:08:52 am »
hmm spoke to soon wxwidgets cant be compiled as a monolithic dll again with 4.5.1 they changed the code so the patch to undo it can not be applied ouch.

looks like they tried to get smart about checking if inline was really needed commendable but its broken with wxwidgets  :lol:

The patch regarding "dllexport inline functions" issue is modified by me again.
You can download all patches applied in my build of MinGW GCC 4.5.1 at here:
http://code.google.com/p/a1mingwgcc/downloads/list
http://code.google.com/p/a1mingwgcc/downloads/detail?name=leo-current-patches%284.5.1%29.7z&can=2&q=
Note: If failed, please use the latest 7z beta to unzip.
« Last Edit: August 09, 2010, 03:14:54 am by a14331990 »

Offline a14331990

  • Multiple posting newcomer
  • *
  • Posts: 34
Re: FYI: GCC 4.5.0 on Mingw.org
« Reply #74 on: August 09, 2010, 03:12:47 am »
If failed, please use the latest 7z beta to unzip.
Sorry for the inconvenience.
I'll mention this detail on my page.
Also repacked binutils using the stable 7z ( 7z 4.6.5).

Best Regards.
a14331990 a.ka. Leo
« Last Edit: August 09, 2010, 03:35:52 am by a14331990 »