News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Codeblocks 13.12: Static library always stripping symbols during linking

Started by khaled, July 02, 2015, 02:48:34 PM

Previous topic - Next topic

khaled

On Ubuntu 14.04, I have created a bare-bone "Static Library" project from available CB 13.12 templates. When I build the project "Build Log" shows as below

gcc -Wall -g  -c /home/me/devroom/TestLib/main.c -o obj/Debug/main.o
rm -f bin/Debug/libTestLib.a
ar -r [b]-s [/b]bin/Debug/libTestLib.a obj/Debug/main.o
ar: creating bin/Debug/libTestLib.a
Output file is bin/Debug/libTestLib.a with size 3.18 KB


Note that "ar" is using "-s" option by default. But I haven't enabled any stripping on anywhere of CB. I have triple checked both "Settings>Compiler>Compiler Settings>Compiler Flags" and "Build Options>Compiler Settings>Compiler Flags". Now please tell me how can I avoiding stripping during linking?

Jenna