How to remove paths to source files in a binary file (so)?
Maybe there is some kind of flag in clang?
/home/user/build/folder ... /home/user/build/folder/file.cpp How to remove paths to source files in a binary file (so)?
Maybe there is some kind of flag in clang?
/home/user/build/folder ... /home/user/build/folder/file.cpp As it turned out, the linker has the option -s .
The answer is found here: https://stackoverflow.com/questions/18916157/is-it-possible-for-gcc-clang-to-link-into-executable-while-stripping-all-the-deb
Strip - thanks, works.
Source: https://ru.stackoverflow.com/questions/420177/
All Articles