delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/10/15:51:42

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
Date: Thu, 10 Jul 2003 21:51:28 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: development under 1.5.0 ?s
Message-ID: <20030710195128.GE12368@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <Pine DOT GSO DOT 4 DOT 56 DOT 0307101415530 DOT 1846 AT eos>
Mime-Version: 1.0
In-Reply-To: <Pine.GSO.4.56.0307101415530.1846@eos>
User-Agent: Mutt/1.4.1i

On Thu, Jul 10, 2003 at 02:33:09PM -0500, Brian Ford wrote:
> Is it true that I should not recompile anything under 1.5.0 unless
> all the dlls it uses have been recompiled first under same?  If not all,
> how do I identify the subset?

By testing.  It's save to use older DLLs if they don't expect any of
the changed datatypes as parameter or part of a parameter.  This
part of the application is of course not 64 clean.  However,  for testing
purposes I've build OpenSSH using the current OpenSSL and it still
worked fine.  Just as a prove of concept.

> So, 1.5.0 headers are not safe for development, except for dll package
> maintainers recompiling for the above purpose, and for those carefully
> checking from the bottom up?

Yes.

> Is it safe to use 1.3.22 headers with a 1.5.0 dll (I think so)?  Obviously
> the converse is not true.

It's safe to use 1.3.22 headers *together* with 1.3.22 libcygwin.a as well
as it is safe to use 1.5.0 headers *together* with 1.5.0 libcygwin.a when
building a package, Headers and libcygwin.a are birds of a feather.
Mixing 1.3.x headers with 1.5.0 libcygwin.a and vice versa will very likely
create a special application which main purpose is to test how to get
segmentation violations.

Packages build with 1.5.0 headers and libcygwin.a will not run under
1.3.x.  Packages build with 1.3.x headers and libcygwin.a will run
under 1.5.0 but they are not aware of the new datatype sizes.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

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