I am not sure what is wrong your build configuration, but I suggest that you do this:
"Settings | Build Settings | Compilers | gnu g++ | Advanced"
and uncheck the option "Pass objects list to the linker via file"
Also, can you confirm that the executed gdb is the correct one? you can do this by:
Open any file inside codelite, Right click on the opened file tab header and from the context menu select 'Open Shell at file path...'
In the CMD.EXE that opened, type: 'which g++'
and paste the output here
OK how do I set the base path to/for the settings/build-settings 'compilers' dialog tab gnu g++ executables branch?
(On build system tab, can browse for specific executable, but I don't see that for general compiler/link/etc tools... do I have to type all paths individually?)
That's from an installation of strawberry perl. I also have a 'normal' mingw install in addition to the codelite mingw-4.4.1, and sometimes a reactos build environment as well. I will also have cygwin eventually.
in the compiler tools page (settings | build settings | compilers | gnu g++ | tools ) you have a field to set the PATH environment variable for this tools chain only.