Re: openssh source code on windows

From: Nico Kadel-Garcia (nkadel@bellatlantic.net)
Date: 08/19/02


From: "Nico Kadel-Garcia" <nkadel@bellatlantic.net>
Date: Mon, 19 Aug 2002 00:50:25 GMT


"Alan Hadsell" <ahadsell@MtDiablo.com> wrote in message
news:u1y8vr83o.fsf@MtDiablo.com...
> "m thomas" <mikethomas@veryfast.biz> writes:
>
> > Thanks for checking my post. I am looking for any ssh source code for
> > windows. I know that there is openssh for linux/unix and windows but of
> > course only the linux/unix source code seems to be readily available.
>
> The OpenSSH source code will build under Cygwin; in fact the default
> Cygwin distribution includes it. AFAIK OpenSSH is too Unix-dependent
> to work under Windows without the layer OS insulation provided by
> Cygwin.
>
> I just tried building it with mingw, and failed miserably. It may be
> possible for someone more patient or perspicacious than me. The
> web site doesn't mention windows as a supported platform (although it
> does mention Cygwin).

Why would you bother to try to build it raw? Too many concepts, like file
permissions and ownership, require some sort of filter of libraries to remap
things with. And once you port it to a bare Windows
commercial-compiler-of-the-week, that compiler will change under you and
you'll have to start over.

There's a reason freeware is written under the gcc compiler: it's solid,
it's portable, it actually follows ANSI and POSIX, and it actually works.