Attached are scripts that I use to cleanup a MacOS build or update the src/devel31_64 build directory or build using the existing makefile as well as install the required apps to copy the relevant files like the update files in the src directory do for Windows or Unix.
I have these in the Andrew_Build_Helper_Files\MacOS directory.
The three files are: codeblocks_cleanup.sh
This removes files created during the the build
codeblocks_update_devel.sh
This updates the src/devel31_64 directory so you can run C::B
Macos_CB_build_Experimental.sh
This file save a few sections as follows:
1) Install the required build tools/libraries - see install_dependencies function
2) Install extra apps that I use - see install_extra_apps function
3) Download wxWidget 3.1.5 src and build it - see wxwidgets_build
4) Download C::B SVN trunk src and build it using the existing makefile process- see codeblocks_build
I have no idea where these files should live in the existing C::B tree as they do not fit into it as they are, but will help out allot.
If you get this far then be aware that the resulting C::B build will run and "work", but how well and for how long I do not know as I have not very much testing on the C::B app produced.
I have not looked at these two lines in the debug log:
I am using the project files to debug C::B from C::B like in Windows and Linux, but you need to configure the Clang compiler to use the dap debugger for it to work otherwise you need to jump through a bunch of Apple hoops to get GDB to work if you are lucky (I was not lucked and crashed and burned in trying to get GDB working).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Attached is the MacOS workspace and project files. These successfully build C::B on a MacOS running Big Sur 11.6.4.
Last edit: Andrew Cottrell 2022-03-12
Attached are scripts that I use to cleanup a MacOS build or update the src/devel31_64 build directory or build using the existing makefile as well as install the required apps to copy the relevant files like the update files in the src directory do for Windows or Unix.
I have these in the
Andrew_Build_Helper_Files\MacOS
directory.The three files are:
codeblocks_cleanup.sh
This removes files created during the the build
codeblocks_update_devel.sh
This updates the src/devel31_64 directory so you can run C::B
Macos_CB_build_Experimental.sh
This file save a few sections as follows:
1) Install the required build tools/libraries - see install_dependencies function
2) Install extra apps that I use - see install_extra_apps function
3) Download wxWidget 3.1.5 src and build it - see wxwidgets_build
4) Download C::B SVN trunk src and build it using the existing makefile process- see codeblocks_build
I have no idea where these files should live in the existing C::B tree as they do not fit into it as they are, but will help out allot.
If you get this far then be aware that the resulting C::B build will run and "work", but how well and for how long I do not know as I have not very much testing on the C::B app produced.
I have not looked at these two lines in the debug log:
Unfortunately I have not got GDB working, so I cannot debug issues at the moment.
Is anyone going to ever look at the patch?
If someone is then you can see the latest project files, scripts and readme for the Mac in the following github repo:
https://github.com/acotty/CodeBlocks_Unofficial_Testing
I am using the project files to debug C::B from C::B like in Windows and Linux, but you need to configure the Clang compiler to use the dap debugger for it to work otherwise you need to jump through a bunch of Apple hoops to get GDB to work if you are lucky (I was not lucked and crashed and burned in trying to get GDB working).