On 26 July 2006 02:21, ?? wrote: > there are many static library files in lib directory, when i was > reported a error: "undefined reference to XXXXX" > how could i know which static library file(.a file) should i append to > compile path by parameter > L & l > is there a convenient way to search a specific symbol in a directory?
The 'nm' command from binutils can dump all the symbols in a library. Try nm -A /usr/lib/*.a | grep 'XXXXX' to get started. cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/