This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: package _version_ check


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sam Steingold wrote:

| how do I check that the installed package foo was built against
| cygwin 1.5 and not 1.3?

"strings"ing and "grep"ing it for "64" should do the trick.

e.g. rsync-2.5.6-2 (1.5.x verisonm9 contains:

$ strings /usr/bin/rsync.exe | grep 64
_fopen64
_fstat64
_lseek64
_lstat64
_open64
_stat64
_fopen64
_fstat64
_lseek64
_lstat64
_open64
_stat64

while rsync-2.5.6-1 does not.

- --
Lapo 'Raist' Luchini
lapo@lapo.it (PGP & X.509 keys available)
http://www.lapo.it (ICQ UIN: 529796)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAj9eMW8ACgkQaJiCLMjyUvtAkwCeIuUiSSSx5E17pmJQqDCXjL2P
yysAoNCCGQondALrxzE5VwUkl/mFAWPl
=Awco
-----END PGP SIGNATURE-----



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]