User forums > Help
SVN 12550 does not compile
AndrewCot:
I just successfully did the following build:
Within C::B loaded the CodeBlocks_wx31_64.cbp and configured it for the following compiler:
Compiler Downloaded:
https://github.com/brechtsanders/winlibs_mingw/releases/download/11.2.1-snapshot20211106-9.0.0-ucrt-r1/winlibs-x86_64-posix-seh-gcc-11.2.1-snapshot20211106-mingw-w64-9.0.0-r1.7z
Directory:
C:\mingw64-winlib
Attaches is the build log.
NOTE: wxWidget was not rebuilt and I did not run or try to run any of the output files.
AndrewCot:
Plot thickens as I just successfully compiled the C::B using the Guyutongxue compiler as follows....
Within C::B loaded the CodeBlocks_wx31_64.cbp and configured it for the following compiler:
Compiler Downloaded:
https://github.com/Guyutongxue/mingw-release/releases/download/v11.2.0-r1/gytx_x86_64-11.2.0-posix-seh_r1.7z
Directory:
C:\mingw64_gtx
My source code I use is in the following github branch:
https://github.com/acotty/codeblocks_sf/tree/AC-WindowsInstaller
Some notes on the branch:
1. It already includes the PCH changes I did a few days ago.
2. There are a number of changes in the source tree that are still PR's against obfuscated's github repo, but I do not expect anything to progress with any of these as most of them are to do with Windows and not Linux.
3. There are also changes to the project file environment variables to make them more consistent and easy for me to use, but I have not reviewed these to ensure they are good enough for eventual incorporation into the trunk.
4. You may find extra debugging that I have check in by accident.
5. The code includes a windows_installer directory that includes the files I use to build the installer. This is a separate SF SVN repo, but having it as a separate repo made building the installers a PITA.
ollydbg:
Hi, AndrewCot, thanks for your detailed test and report.
I just switch my compiler to Msys2's native gcc compiler which is gcc 11.2.0 to build CodeBlocks_wx31_64.cbp, and I don't see the PCH issue now. (though I still use the wx 3.1.5 library built by guyu's compiler, I will later to rebuild wx 3.1.5 by Msys2's native gcc).
So, it looks like this issue is related to guyu's gcc. I will report bugs in his site.
ollydbg:
I did a build time test using msys2's 64bit gcc 11.2.0 on a win7 system.
When PCH is enabled, the CodeBlocks_wx31_64.cbp rebuild time is about: 273 seconds
When PCH is not enabled, the CodeBlocks_wx31_64.cbp rebuild time is about: 440 seconds
So, it is about 38% time reduce if I enable the PCH for CodeBlocks_wx31_64.cbp.
AndrewCot:
What version of guyu's compiler were you using? 11.2.0 release 0 or release 1 or some other version?
Good to see that your MSYS2 GCC 11.2.0 works.
I did not get as good a drop on my setup, I got a drop of about 35 seconds when building everything. I should do some more tests tomorrow when compiling just the CodeBlocks_wx31_64.cbp and see how I go and report my findings.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version