Vladimir A. Pavlov wrote:
><snip>
First, use of the flag in CFLAGS/CXXFLAGS and EVEN LDFLAGS don't seem to
be dangerous at all.
Looks like it's being done intelligently for executable and shared files.
"...with ELF you typically need some symbolic information in the file
for the program to load and run. Thus, in the case of ELF, the strip
program will remove a portion of the symbol table, but it will never
remove all of the symbol table."
- http://www.linuxjournal.com/article/1059
You may also consider reading the following document if you're
interested in more detail. Probably take you a while though. :)
http://www.skyfree.org/linux/references/ELF_Format.pdf
<snip good info>
Thanks for the info; I'll keep this in mind for future builds. It's
certainly easier to use the '-s' flag than selectively stripping later
and might shave some time off the builds on slower systems.
Regards,
Jeremy.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page