nm for .exe extensions?
Warren Young
wyml@etr-usa.com
Tue May 24 16:56:00 GMT 2016
On May 24, 2016, at 6:43 AM, Benjamin Cao <becao@progress.com> wrote:
>
> The executable, when run with nm in Cygwin, results in a "no symbols" result, whereas it generates a symbol table in unix.
That’s not what I see here. Given hello.c containing a “Hello, world!” program:
$ make hello
cc hello.c -o hello
$ nm hello.exe | wc -l
389
If I strip the exe, I get “No symbols,” as expected. There’s no reason a finished executable should have much in the way of exported symbols without debug info, since it is self-contained. You would only expect to get useful output from nm on a stripped binary if it’s an object file or a DLL.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list