Closed Laur59 closed 1 month ago
Hi,
Looking at the docs, https://mesonbuild.com/Builtin-options.html says that debug
is there to "Enable debug symbols and other information."
So presumably debug=false
meson option would remove debug symbols, however the table for buildtype
https://mesonbuild.com/Builtin-options.html#details-for-buildtype already says that it implies debug=false
for the release
option, so changing the build type to release, as you suggested, should have worked.
May be a question for https://github.com/mesonbuild/meson
Seems that changing also in CMakeLists.txt
-DCMAKE_BUILD_TYPE=MinSizeRel
by
-DCMAKE_BUILD_TYPE=Release
is solving my question.
Hi! When trying to build a disassembly file from an elf file one get warnings about source files not found. For instance
I tried modifying CMakeLists.txt to replace
PICOLIBC_BUILD_TYPE "minsize"
by
PICOLIBC_BUILD_TYPE "release"
as from my understanding of meson buildtype, minsize keeps debug whereas release does not.
But this was not solving the issue.
For now the workaround is to strip the installed libraries.
Any hint on how to modify CMakeLists.txt or options to be passed when invoking cmake is welcome. Thank you !