User forums > Using Code::Blocks
Compiling C::B using Msys2
stahta01:
--- Quote from: scarphin on September 19, 2015, 11:27:03 pm ---Ok, my bad.
--- End quote ---
No it was a good idea, I am trying to compile it right now using that way.
But, it is a bad idea in that it is very likely the crash reporting routine will crash instead of reporting a error correctly.
Found out I will need to port the console runner to MSys2; and I think that is something within my knowledge and abilities.
I have an issue getting some core plugins to link because of tinyXML link errors; but, I decided to just ignore those plugins for now.
(The Compiler Plugin compiles without any errors; and, that is the most important plugin to me.)
I am hoping the starter of this thread will do the work of porting exchndl.dll to the MSys2 environment.
If not, I plan to try my changes under CygWin64 and see if they work there.
Edit: Found this package mingw-w64-x86_64-drmingw-0.7.4-2; so, I do NOT need to worry about porting drmingw to MSys2's mingw-w64-x86_64. Note: I am NOT certain if porting is the right word; might just be a minor recompile with linking to the correct object files.
But, I am a newbie on using MSys2 and did NOT wish to do something that might be risky.
Tim S.
alle_meije:
Sorry for letting this thread get old. Must admit these names mean nothing to me.
But still, I'll give it a go if it means being able to have C::B in Msys2!
It looks like a 64-bit version was compiled before?
http://forums.codeblocks.org/index.php/topic,18902.msg129510.html#msg129510
alle_meije:
I have compiled https://github.com/jrfonseca/drmingw in Msys2, which includes a exchndl DLL.
In Msys2 64-bit I did
--- Code: ---git clone https://github.com/jrfonseca/drmingw.git
cd drmingw/
mkdir build
cd build
cmake .. -G "MSYS Makefiles"
make
--- End code ---
which produces a DLL file bin/exchndl.dll that I'm more than happy to share.
stahta01:
@ alle_meije:
I am building CB Under MSys2 using the DrMinGW and wxWidgets Msys2's MinGW64 packages.
Still have NOT fixed all the bugs; but, I can build CB using Configure/Make method.
I have NOT spent enough time to see if the resulting Code::Blocks is useful for doing anything.
I have changed to trying to build CB using CB Projects for now; then, I plan to merge the two methods.
After, that I plan to test the resulting binaries for usefulness.
I have NO idea what would be the proper location in MSYS2 to store the CB config file; do you have a suggestion?
Tim S.
stahta01:
The combined changes I did to get Configure/Make method to work under MSys2
https://github.com/stahta01/cb_misc/blob/master/Patches/Git-am/MSys2/2015-10-16_MSys2_changes.patch
Tim S.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version