OpenSSH
[Top] [All Lists]

Re: Static build under Cygwin?

To: OpenSSH <openssh-unix-dev@mindrot.org>
Subject: Re: Static build under Cygwin?
From: Corinna Vinschen <vinschen@redhat.com>
Date: Thu, 5 Apr 2007 19:56:43 +0200
Delivered-to: sp-com-lists@consult.net
Delivered-to: openssh-unix-dev-list1@securepoint.com
Delivered-to: openssh-unix-dev-tmda@mindrot.org
Delivered-to: openssh-unix-dev@mindrot.org
In-reply-to: <46153084.9040708@psc.edu>
List-archive: <http://lists.mindrot.org/pipermail/openssh-unix-dev>
List-help: <mailto:openssh-unix-dev-request@mindrot.org?subject=help>
List-id: Development of portable OpenSSH <openssh-unix-dev.mindrot.org>
List-post: <mailto:openssh-unix-dev@mindrot.org>
List-subscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=subscribe>
List-unsubscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=unsubscribe>
Mail-followup-to: OpenSSH <openssh-unix-dev@mindrot.org>
References: <461510F4.3070408@psc.edu> <20070405165606.15061.qmail@cdy.org> <461523DA.3050202@psc.edu> <20070405170636.16603.qmail@cdy.org> <20070405171157.GA13737@calimero.vinschen.de> <46153084.9040708@psc.edu>
Sender: openssh-unix-dev-bounces+openssh-unix-dev-list1=securepoint.com@mindrot.org
User-agent: Mutt/1.4.2.2i
On Apr  5 13:23, Chris Rapier wrote:
> Corinna Vinschen wrote:
> > You can't build statically against Cygwin and it's not intended to work.
> 
> Just curious, is this by specific design or did it just work out that way?

It's by design.  Cygwin isn't just a lib with function calls, it's
providing lots of shared information between different processes kept by
the DLL in a version specific way.  Stuff like process table, /proc
emulation, pseudo ttys, named pipes, tape access and what not, all
depend on the shared information.

> > Please don't. 
> 
> Which is pretty much why I was looking for a way to build openssh 
> against cygwin statically. I'll probably just end up trying to port the 
> hpn patch over to putty (convincing people to move the globus patch as 
> well might be tough though :) )

Yes, actually it might be better to use an already existing native
Windows application like putty for that.


Corinna

-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

<Prev in Thread] Current Thread [Next in Thread>