public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* strings failing
@ 2003-09-02 18:31 Gerry Reno
  2003-09-02 19:52 ` Igor Pechtchanski
  0 siblings, 1 reply; 3+ messages in thread
From: Gerry Reno @ 2003-09-02 18:31 UTC (permalink / raw)
  To: cygwin; +Cc: grenoml

Has anyone seen behavior like this:

  On Cygwin 1.3.18 I am seeing strange failures with trying to use
strings.  Strings does not seem able to see some files yet 'ls' shows
them, 'od -cx' shows them.  Also gcc has similar problem in that it is
reporting: no such file or directory on some compiles.

$strings /lib/libc.a
d:\mingw\bin\strings.exe: /lib/libc.a: No such file or directory
(This happens for any file in /lib)

$ls -l /lib/libc.a
-rwxrwxrwx    1 Administ None       745742 Dec 25  2002 /lib/libc.a

$od -cx /lib/libc.a
0000000   !   <   a   r   c   h   >  \n   /
        3c21 7261 6863 0a3e 202f 2020 2020 2020
0000020                                   1   0   4   0   8   4   8   7
        2020 2020 2020 2020 3031 3034 3438 3738
0000040   4   1           0                       0
        3134 2020 2030 2020 2020 2030 2020 2020
0000060   0                               3   3   7   0   4
        2030 2020 2020 2020 3333 3037 2034 2020
0000100           `  \n  \0  \0  \a 225  \0  \0 203 354  \0  \0 206 200
        2020 0a60 0000 9507 0000 ec83 0000 8086
0000120  \0  \0 211 300  \0  \0 211 300  \0  \0 214 216  \0  \0 214 216
        0000 c089 0000 c089 0000 8e8c 0000 8e8c
0000140  \0  \0 217   X  \0  \0 217   X  \0  \0 222   (  \0  \0 222   (
        0000 588f 0000 588f 0000 2892 0000 2892


Any ideas what may be causing strings to fail?

thx,
Gerry Reno


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

--
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] 3+ messages in thread

* Re: strings failing
  2003-09-02 18:31 strings failing Gerry Reno
@ 2003-09-02 19:52 ` Igor Pechtchanski
  2003-09-02 20:14   ` Gerry Reno
  0 siblings, 1 reply; 3+ messages in thread
From: Igor Pechtchanski @ 2003-09-02 19:52 UTC (permalink / raw)
  To: Gerry Reno; +Cc: cygwin

On Tue, 2 Sep 2003, Gerry Reno wrote:

> Has anyone seen behavior like this:
>
>   On Cygwin 1.3.18 I am seeing strange failures with trying to use
> strings.  Strings does not seem able to see some files yet 'ls' shows
> them, 'od -cx' shows them.  Also gcc has similar problem in that it is
> reporting: no such file or directory on some compiles.
>
> $strings /lib/libc.a
> d:\mingw\bin\strings.exe: /lib/libc.a: No such file or directory
  ^^^^^^^^^^^^^
> (This happens for any file in /lib)
>
> Any ideas what may be causing strings to fail?
> thx,
> Gerry Reno

You mean, aside from the fact that you aren't using Cygwin's "strings"?
MinGW programs aren't aware of Cygwin mounts.  I suspect you're using
MinGW gcc as well.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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] 3+ messages in thread

* Re: strings failing
  2003-09-02 19:52 ` Igor Pechtchanski
@ 2003-09-02 20:14   ` Gerry Reno
  0 siblings, 0 replies; 3+ messages in thread
From: Gerry Reno @ 2003-09-02 20:14 UTC (permalink / raw)
  To: cygwin; +Cc: grenoml

Igor,
  Of course.  I just started a new shell and things seem to be working
correctly now.  I must have changed some define that got things
confused.

thx,
Gerry Reno


--- Igor Pechtchanski <pechtcha@cs.nyu.edu> wrote:
> On Tue, 2 Sep 2003, Gerry Reno wrote:
> 
> > Has anyone seen behavior like this:
> >
> >   On Cygwin 1.3.18 I am seeing strange failures with trying to use
> > strings.  Strings does not seem able to see some files yet 'ls'
> shows
> > them, 'od -cx' shows them.  Also gcc has similar problem in that it
> is
> > reporting: no such file or directory on some compiles.
> >
> > $strings /lib/libc.a
> > d:\mingw\bin\strings.exe: /lib/libc.a: No such file or directory
>   ^^^^^^^^^^^^^
> > (This happens for any file in /lib)
> >
> > Any ideas what may be causing strings to fail?
> > thx,
> > Gerry Reno
> 
> You mean, aside from the fact that you aren't using Cygwin's
> "strings"?
> MinGW programs aren't aware of Cygwin mounts.  I suspect you're using
> MinGW gcc as well.
> 	Igor
> -- 
> 				http://cs.nyu.edu/~pechtcha/
>       |\      _,,,---,,_		pechtcha@cs.nyu.edu
> ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
>      |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
>     '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
> 
> "I have since come to realize that being between your mentor and his
> route
> to the bathroom is a major career booster."  -- Patrick Naughton


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

--
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] 3+ messages in thread

end of thread, other threads:[~2003-09-02 20:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-02 18:31 strings failing Gerry Reno
2003-09-02 19:52 ` Igor Pechtchanski
2003-09-02 20:14   ` Gerry Reno

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