public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Marco Atzeri <marco.atzeri@gmail.com>
To: cygwin@cygwin.com
Subject: Re: nm for .exe extensions?
Date: Tue, 24 May 2016 13:16:00 -0000	[thread overview]
Message-ID: <cff23381-6d47-5382-62c4-dc6e94e6aff0@gmail.com> (raw)
In-Reply-To: <a66eaf9339774b6a8fbc1ab4b99f428d@ntmaexbe04.bedford.progress.com>

On 24/05/2016 14:43, Benjamin Cao wrote:
> Hi,
>
> I am working with a customer on using the nm command in Cygwin for Windows. The customer wants to be able to generate a symbol table on *.exe files similar to what nm does on unix platforms. The executable, when run with nm in Cygwin, results in a "no symbols" result, whereas it generates a symbol table in unix.
>
> I understand that these commands will certainly be different in both Cygwin for Windows and the unix platforms, but is there any way that *.exe will generate a symtab with nm?
>
> Note: The customer said the Windows "dumpbin" does not satisfy his needs either... what fun.
>
> Thanks,
> Ben Cao
>

How was compiled the *.exe file ?

For both Unix and Windows stripped programs do not contain any more any 
symbol. Example from one of my package:

$ nm ncview.exe |wc -l
5540

$ nm ncview.exe |tail
00440824 T _XUndefineCursor
00424b8b t _xy_track_pointer
0062a230 b _y0.4078
0062a270 b _y0.4110
00424864 t _yaxis_range_callback
00626a68 b _ydim_selection_widget
00626a6c b _ydimlist_label_widget
00626a70 b _ydimlist_widget
00632890 i fthunk
00632498 i hname

but
$ nm /usr/bin/ncview.exe
nm: /usr/bin/ncview.exe: no symbols

As the installed version was stripped.




--
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

WARNING: multiple messages have this Message-ID
From: Marco Atzeri <marco.atzeri@gmail.com>
To: cygwin@cygwin.com
Subject: Re: nm for .exe extensions?
Date: Tue, 24 May 2016 13:29:00 -0000	[thread overview]
Message-ID: <cff23381-6d47-5382-62c4-dc6e94e6aff0@gmail.com> (raw)
Message-ID: <20160524132900.sbparpjmH0jEcO-DlTGgpmHKO_RWoxW_pfr6aSE3yWw@z> (raw)
In-Reply-To: <a66eaf9339774b6a8fbc1ab4b99f428d@ntmaexbe04.bedford.progress.com>

On 24/05/2016 14:43, Benjamin Cao wrote:
> Hi,
>
> I am working with a customer on using the nm command in Cygwin for Windows. The customer wants to be able to generate a symbol table on *.exe files similar to what nm does on unix platforms. The executable, when run with nm in Cygwin, results in a "no symbols" result, whereas it generates a symbol table in unix.
>
> I understand that these commands will certainly be different in both Cygwin for Windows and the unix platforms, but is there any way that *.exe will generate a symtab with nm?
>
> Note: The customer said the Windows "dumpbin" does not satisfy his needs either... what fun.
>
> Thanks,
> Ben Cao
>

How was compiled the *.exe file ?

For both Unix and Windows stripped programs do not contain any more any 
symbol. Example from one of my package:

$ nm ncview.exe |wc -l
5540

$ nm ncview.exe |tail
00440824 T _XUndefineCursor
00424b8b t _xy_track_pointer
0062a230 b _y0.4078
0062a270 b _y0.4110
00424864 t _yaxis_range_callback
00626a68 b _ydim_selection_widget
00626a6c b _ydimlist_label_widget
00626a70 b _ydimlist_widget
00632890 i fthunk
00632498 i hname

but
$ nm /usr/bin/ncview.exe
nm: /usr/bin/ncview.exe: no symbols

As the installed version was stripped.




--
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

WARNING: multiple messages have this Message-ID
From: Marco Atzeri <marco.atzeri@gmail.com>
To: cygwin@cygwin.com
Subject: Re: nm for .exe extensions?
Date: Tue, 24 May 2016 13:57:00 -0000	[thread overview]
Message-ID: <cff23381-6d47-5382-62c4-dc6e94e6aff0@gmail.com> (raw)
Message-ID: <20160524135700.RShUnPuDI9h3LvgoBYLhAwe1EV_gqYHcM0valqSjjeM@z> (raw)
In-Reply-To: <a66eaf9339774b6a8fbc1ab4b99f428d@ntmaexbe04.bedford.progress.com>

On 24/05/2016 14:43, Benjamin Cao wrote:
> Hi,
>
> I am working with a customer on using the nm command in Cygwin for Windows. The customer wants to be able to generate a symbol table on *.exe files similar to what nm does on unix platforms. The executable, when run with nm in Cygwin, results in a "no symbols" result, whereas it generates a symbol table in unix.
>
> I understand that these commands will certainly be different in both Cygwin for Windows and the unix platforms, but is there any way that *.exe will generate a symtab with nm?
>
> Note: The customer said the Windows "dumpbin" does not satisfy his needs either... what fun.
>
> Thanks,
> Ben Cao
>

How was compiled the *.exe file ?

For both Unix and Windows stripped programs do not contain any more any 
symbol. Example from one of my package:

$ nm ncview.exe |wc -l
5540

$ nm ncview.exe |tail
00440824 T _XUndefineCursor
00424b8b t _xy_track_pointer
0062a230 b _y0.4078
0062a270 b _y0.4110
00424864 t _yaxis_range_callback
00626a68 b _ydim_selection_widget
00626a6c b _ydimlist_label_widget
00626a70 b _ydimlist_widget
00632890 i fthunk
00632498 i hname

but
$ nm /usr/bin/ncview.exe
nm: /usr/bin/ncview.exe: no symbols

As the installed version was stripped.




--
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

WARNING: multiple messages have this Message-ID
From: Marco Atzeri <marco.atzeri@gmail.com>
To: cygwin@cygwin.com
Subject: Re: nm for .exe extensions?
Date: Tue, 24 May 2016 16:44:00 -0000	[thread overview]
Message-ID: <cff23381-6d47-5382-62c4-dc6e94e6aff0@gmail.com> (raw)
Message-ID: <20160524164400.1kX81Pmhq1Qup_lHtPtPCkhbdORGf2EyRhgV9khQ0pk@z> (raw)
In-Reply-To: <a66eaf9339774b6a8fbc1ab4b99f428d@ntmaexbe04.bedford.progress.com>

On 24/05/2016 14:43, Benjamin Cao wrote:
> Hi,
>
> I am working with a customer on using the nm command in Cygwin for Windows. The customer wants to be able to generate a symbol table on *.exe files similar to what nm does on unix platforms. The executable, when run with nm in Cygwin, results in a "no symbols" result, whereas it generates a symbol table in unix.
>
> I understand that these commands will certainly be different in both Cygwin for Windows and the unix platforms, but is there any way that *.exe will generate a symtab with nm?
>
> Note: The customer said the Windows "dumpbin" does not satisfy his needs either... what fun.
>
> Thanks,
> Ben Cao
>

How was compiled the *.exe file ?

For both Unix and Windows stripped programs do not contain any more any 
symbol. Example from one of my package:

$ nm ncview.exe |wc -l
5540

$ nm ncview.exe |tail
00440824 T _XUndefineCursor
00424b8b t _xy_track_pointer
0062a230 b _y0.4078
0062a270 b _y0.4110
00424864 t _yaxis_range_callback
00626a68 b _ydim_selection_widget
00626a6c b _ydimlist_label_widget
00626a70 b _ydimlist_widget
00632890 i fthunk
00632498 i hname

but
$ nm /usr/bin/ncview.exe
nm: /usr/bin/ncview.exe: no symbols

As the installed version was stripped.




--
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

  reply	other threads:[~2016-05-24 13:16 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-24 12:46 Benjamin Cao
2016-05-24 13:16 ` Marco Atzeri [this message]
2016-05-24 13:29   ` Marco Atzeri
2016-05-24 13:57   ` Marco Atzeri
2016-05-24 16:44   ` Marco Atzeri
2016-05-24 13:50 ` Warren Young
2016-05-24 14:34   ` Warren Young
2016-05-24 16:56   ` Warren Young
2016-06-07 15:43   ` Bill Smith
2016-06-07 16:12     ` Corinna Vinschen
2016-06-07 16:24       ` Ismail Donmez
2016-06-07 20:32         ` Corinna Vinschen
2016-05-24 14:36 ` Ken Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cff23381-6d47-5382-62c4-dc6e94e6aff0@gmail.com \
    --to=marco.atzeri@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).