$ objcopy --only-keep-debug "${tostripfile}" "${debugdir}/${debugfile}"
$ strip --strip-debug --strip-unneeded "${tostripfile}"
$ objcopy --add-gnu-debuglink="${debugdir}/${debugfile}" "${tostripfile}"
Last active
August 29, 2017 14:24
-
-
Save niklasad1/6ecf49ab95786e21d74ce9b19c88883f to your computer and use it in GitHub Desktop.
strip of debug symbols
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment