From where? This is pretty hard task generally.
Here's where I did most of the work; I stopped about a month ago; because my Git Repo got messed up.
[I noticed the Git Repo issue when an CB Dev edited a SVN commit message; fixing that I discovered I had messed up a few months back.)
https://github.com/stahta01/codeblocks_console/commits/wxUSE_guardI tried once prior to removing the GUI code all at once and failed; this time I decided to remove just a little bit at a time.
My noPCH fixes was discovered when I disable a header that included the header I added in the patch.
I just now got my Git Repo so once more "git svn info" works.
I do NOT think the CB Team would want my changes that added wxUSE; but, see no downside to doing the noPCH fixes.
I figure once I get CB to work without the GUI part a few people will want the patches that does that.
I am primarily doing this as a learning experience on using Git, C++, CB, and wxWidgets.
I have NOT built this repo for a while; but, it was working a few months back.
https://github.com/stahta01/codeblocks_console/tree/build/reducedGUI Tim S.