On Sat, 4 Mar 2000, Jim Aston wrote:
> nm libwine.so
>
> (If this is for spec files two more commands are cut and c++filt.)
Sorry, my first email must have been ambiguous. What I'm
interested in is the list of functions imported/exported by arbitrary
programs or libraries.
For example 'dumpbin /imports hellowin.exe' will tell
me which functions hellowin (from the Petzold) uses. Once processed it
looks a bit like this:
this:
GDI32:
GetStockObject
KERNEL32:
CloseHandle, ExitProcess, FlushFileBuffers, ...
USER32
BeginPaint, CreateWindowExA, ...
WINMM
PlaySoundA
Unfortunately dumpbin will not run in Wine due to the usual 'no
relocation records present' (also you need Visual C++). I thought it
might be interesting to have a native Unix version of this tool. But
there's really no hurry.
--
Francois Gouget [EMAIL PROTECTED] http://www.multimania.com/fgouget
Good judgment comes from experience, and experience comes from bad judgment
-- Barry LePatner