How do I find all object files (*.o, *.a, *.so) recursively under the current directory, and pass the result to "nm" so that I can get all the symbol of all those object files?Please try this command:
So the problems are: 1. Find the object files recursively <-- not quite sure how to do this 2. pass the result to "nm". I can't figure this out, here is what I've tried:
"find . -name "*.o" -print -exec nm {} \; >> /tmp/nm.out"
You can repeat the above command for "*.a" and "*.so" files.
Best of luck
Srini
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list