[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
can we keep the generated file: "$output_objdir/$my_dlsyms"?
From: |
Zhixu Liu |
Subject: |
can we keep the generated file: "$output_objdir/$my_dlsyms"? |
Date: |
Mon, 30 Dec 2024 23:26:33 +0800 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- can we keep the generated file: "$output_objdir/$my_dlsyms"?,
Zhixu Liu <=