Stripping debug symbols
Hi all.
I worked on my project woth Krogoth, gcc 5.3.0, on imx6dlsabresd board.
My application is build with cmake 3.4.3, shipped with BSP.
I'd like to strip debug symbols from the final binary, but if I prepend the strip parameter in CMAKE_{C,CXX}_FLAGS_RELEASE in my CMakeLists.txt, bitbake give me errors.
What is the right path to follow to strip final binary?
With debug info the binary is 109MB, without 5MB
Best regards,
Mauro
Build should strip it automatically what does your build recipe look like
Quoted 27 lines · Mauro Ziliani
Hi all.
I worked on my project woth Krogoth, gcc 5.3.0, on imx6dlsabresd board.
My application is build with cmake 3.4.3, shipped with BSP.
I'd like to strip debug symbols from the final binary, but if I prepend the strip parameter in CMAKE_{C,CXX}_FLAGS_RELEASE in my CMakeLists.txt, bitbake give me errors.
What is the right path to follow to strip final binary?
With debug info the binary is 109MB, without 5MB
Best regards,
Mauro
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto