Author Topic: Msys2/Pacman package  (Read 3101 times)

Offline diegojarg

  • Single posting newcomer
  • *
  • Posts: 4
Msys2/Pacman package
« on: December 02, 2022, 01:35:16 am »
Hello people. Thank you for this great great IDE.
I wonder if someone have considered packaging a pacman/msys2 package of codeblocks.
I will love to share the very same libraries and toolchain.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6036
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Msys2/Pacman package
« Reply #1 on: December 02, 2022, 02:08:47 am »
Hi, I haven't build C::B directly under msys2/mingw64 shell, I guess it is a bit complex.

But if I remember correctly, our dev AndrewCot did that already, see his github repo and this file for details: CodeBlocks_Unofficial_Testing/Readme_Build_Windows_MSYS2_by_Makefile.txt at master acotty/CodeBlocks_Unofficial_Testing
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.