This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: package _version_ check
- From: Lapo Luchini <lapo at lapo dot it>
- To: Mailing List: CygWin <cygwin at cygwin dot com>
- Date: Tue, 09 Sep 2003 22:00:47 +0200
- Subject: Re: package _version_ check
- References: <uoextu8i3.fsf@gnu.org>
-----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/