delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/09/16:01:16

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3F5E316F.9080908@lapo.it>
Date: Tue, 09 Sep 2003 22:00:47 +0200
From: Lapo Luchini <lapo AT lapo DOT it>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: it, en, fr, es
MIME-Version: 1.0
To: Mailing List: CygWin <cygwin AT cygwin DOT com>
Subject: Re: package _version_ check
References: <uoextu8i3 DOT fsf AT gnu DOT org>
In-Reply-To: <uoextu8i3.fsf@gnu.org>
X-Enigmail-Version: 0.76.6.0
X-Enigmail-Supports: pgp-inline, pgp-mime

-----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 AT lapo DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019