[19741] in Kerberos_V5_Development

home help back first fref pref prev next nref lref last post

Re: Build krb5 on cygwin

daemon@ATHENA.MIT.EDU (Benjamin Kaduk)
Wed Apr 4 22:43:36 2018

Date: Wed, 4 Apr 2018 21:43:20 -0500
From: Benjamin Kaduk <kaduk@mit.edu>
To: Weijun Wang <weijun.wang@oracle.com>
Message-ID: <20180405024320.GN80088@mit.edu>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <20180405023026.GM80088@mit.edu>
Cc: "krbdev@mit.edu" <krbdev@mit.edu>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krbdev-bounces@mit.edu

On Wed, Apr 04, 2018 at 09:30:26PM -0500, Benjamin Kaduk wrote:
> On Thu, Apr 05, 2018 at 07:03:31AM +0800, Weijun Wang wrote:
> > 
> > 
> > BTW, is there a configure option to force using MSVC? Now that I have gcc installed and it always choose gcc. I tried setting CC=/path/to/cl.exe but see
> > 
> > checking for gcc... /.../VC/bin/amd64/cl.exe
> > checking whether the C compiler works... no
> 
> The build instructions in src/windows/README do not involve running
> configure at all.

Though I suppose I should note that IIRC, the output of cl.exe is
not binary compatible with cygwin binaries, in terms of compiling a
library with cl.exe and linking into a cygwin binary.  So if the
need is specifically to build updated cygwin binaries using newer
krb5 functionality, this is probably not the right path to go down.

-Ben
_______________________________________________
krbdev mailing list             krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev

home help back first fref pref prev next nref lref last post