Do you know your Operation System name and version?
I am using Linux Ubuntu 17.10 Artful.
Do you know your Compiler name and version?
GCC 7.2.0
Do you know the linking command that you wish to use in Code::Blocks?
gcc -r -s -T ../lib/linux/Debug/libfs.a *ALL OBJECT FILES*
gcc -r -c -T ../lib/linux/Debug/libfs.a ../../zlib/lib/linux/Debug/libzlib.a
If you know the above are you not telling us for a valid reason?
Edit: Did you try adding "-T" without the double quotes to the Linker other options?
Tim S.
I have actually managed to fix it by changing the GCC global compiler advanced options. The behavior of "Linking objects to static libraries" was changed. The new script is...
rm -f $static_output
$lib_linker -r -s -T $static_output $link_objects
$lib_linker -r -c -T $static_output $link_options
Since static libraries do not use the $link_options otherwise, I can just add all the paths to static library dependencies in the "Build options..." -> "Linker settings" tab -> "Other linker options" editbox. Kind of a hack but it works so I am fine with it. Just that everyone who would want this support has to adjust Code::Blocks global settings... kinda bad.
Here is a step-by-step guide (with images):
http://green-candy.osdn.jp/codeblocks_config.html- Martin