[yocto] Stripping debug symbols

Khem Raj raj.khem at gmail.com
Thu Apr 11 19:13:55 PDT 2019


Build should strip it automatically what does your build recipe look like

On Thu, Apr 11, 2019 at 1:37 AM Mauro Ziliani <mauro at faresoftware.it> wrote:

> 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
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190411/c7f5cede/attachment.html>


More information about the yocto mailing list