* how can i search a specific symbol in static library ?
@ 2006-07-26 1:32 勇郝
2006-07-26 12:00 ` Dave Korn
0 siblings, 1 reply; 2+ messages in thread
From: 勇郝 @ 2006-07-26 1:32 UTC (permalink / raw)
To: cygwin
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?
--
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: how can i search a specific symbol in static library ?
2006-07-26 1:32 how can i search a specific symbol in static library ? 勇郝
@ 2006-07-26 12:00 ` Dave Korn
0 siblings, 0 replies; 2+ messages in thread
From: Dave Korn @ 2006-07-26 12:00 UTC (permalink / raw)
To: cygwin
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-07-26 11:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-26 1:32 how can i search a specific symbol in static library ? 勇郝
2006-07-26 12:00 ` Dave Korn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).