I would suggest just editing the Code::Blocks (CB) Compiler setting for "Borland C++ Compiler" using the CB Gui.
Note: If you already have an "Borland C++ Compiler" setup using a different version; use the Copy button.
Setting -> Compiler
Select the "Borland C++ Compiler"
Change Compiler name to "bcc32c.exe" under Toolchain settings.
Change the Resource Compiler to "rc.exe"
Delete or correct the "Search Directories"; I deleted them.
I then added these [Linker Search Paths] to the release CB project targets
$(TARGET_COMPILER_DIR)lib\win32c\release
$(TARGET_COMPILER_DIR)lib\win32c\release\psdk
And, this to the debugger targets; NOTE: The lack of a debug PSDK implies complex project will NOT build in debug mode.
$(TARGET_COMPILER_DIR)lib\win32c\debug
This setup then built "Hello World"
Please read at least some of the CB FAQs.
http://wiki.codeblocks.org/index.php/FAQAnd this link;
http://wiki.codeblocks.org/index.php/Creating_a_new_projectTim S.