User forums > General (but related to Code::Blocks)

patch for the autotools build to work with Msys2/MinGW32

<< < (2/3) > >>

reckless:
here is the modified package build for codeblocks with both mingw32 and mingw64 added as well as 32 bit clang if someone prefers the ucrt build.

reckless:
doh seems they removed it again  ::) but the modified version linked here works.

ollydbg:

--- Quote from: reckless on May 26, 2024, 09:24:45 am ---doh seems they removed it again  ::) but the modified version linked here works.

--- End quote ---

What github issue or pull request are you using? Can you share the links?

Or, you suggest pushing your contributions to the C::B's source base?

Thanks.

reckless:
https://github.com/msys2/MINGW-packages/commit/ba7eac7846234a4d3f8f22f8d060ef85d4d6d749

this one, but since they dont intend on providing neither a mingw64 nor mingw32 build it might make more sense to just add the fix to C::B base ?.

reckless:
one strange thing i noticed which might be interresting is that i use the TDM compiler (modified version by me) with msys2 and the static runtime version of wxwidgets 3.2 works out of the box  with the autotools build :o has'nt crashed once on me.
but if i use the standard windows build with the batch files it goes ape huh.

the TDM build i use was made for msys2 and unless using -static-libgcc -static-libstdc++ it works just like the normal msys2 mingw builds.
other than that i fixed a bug with the cleanup function which was leaking path handles to the exception mechanism if it failed to run and i changed the _onexit routine running the cleanup function to atexit using a wrapper.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version