Hi,

https://git.savannah.gnu.org/cgit/libtool.git/tree/build-aux/ltmain.in#n3107
# Clean up the generated files.
func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S"
"${nlist}T" "${nlist}I"'

"$output_objdir/$my_dlsyms" is a .c file. In Gentoo, when turn on a
feature named
"installsource", portage (Gentoo's package management system) will use debugedit
to find the source files of the executable, then copy and install it
for later debug (if any).
But this .c file is deleted right after compile, so this .c file can't
be installed.

My question is:
1. Is it possible to keep this .c file?
2. Can we be 100% sure the code generated is useless for debugging? If yes,
 we might consider ignoring .c files in directory .libs/.

Thanks.
-- 
Z. Liu

Reply via email to