Author Topic: Code::Blocks development for macOS  (Read 19279 times)

Offline debarshikundu0

  • Single posting newcomer
  • *
  • Posts: 1
Code::Blocks development for macOS
« on: July 09, 2026, 10:00:51 am »
Hello all,
I have managed to compile and run the source code for Code::Blocks 25.03 on macOS Tahoe (M1 Mac mini with 16GB of Unified Memory)...
I understand that there are more Mac developers needed within the Code::Blocks project. The application is a bit buggy/laggy on macOS, to say the least.
I would like to become an official macOS developer for Code::Blocks. How can I go about achieving this goal?

Yours truly,

Debarshi Kundu

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2977
Re: Code::Blocks development for macOS
« Reply #1 on: July 09, 2026, 11:17:06 pm »
Users usually become developers by tackling some of the tickets or submitting patches that interest them and will be of use to you and to the other users.

At least that's how I did it.

Offline tbcitoo

  • Single posting newcomer
  • *
  • Posts: 1
Re: Code::Blocks development for macOS
« Reply #2 on: Yesterday at 06:30:45 pm »
Hi there,

Initially motivated by the needs of a school project (my kids), I also had to get Code::Blocks running on Apple Silicon (M2), including the debugger. Parting from svn r14050 / 25.03, the work has now reached a reasonably self-contained v1.2 release, which roughly satisfies my own needs. I thought it might be of interest to some of you to know that the work exists; if there is an interest in upstreaming any of the generally useful macOS changes, I can prepare the relevant changes as svn patches.

The Code::Blocks side currently includes:

native arm64 build and .app/.dmg packaging;
fixes to the macOS Terminal.app $SCRIPT launch path (I think there was some discussion about this here some time ago);
bundled console helpers for Run and Debug;
Darwin-specific GDB inferior-tty handling;
a bundled native Darwin GDB as the default debugger on macOS.

The Code::Blocks port is here: https://github.com/tbgitoo/codeblocks-macos

The companion Darwin GDB port is here: https://github.com/tbgitoo/binutils-gdb (This port builds substantially on earlier Darwin/AArch64 GDB patches by Can Acar)

Yours truly

Thomas