Build krb5 on cygwin

Benjamin Kaduk kaduk at mit.edu
Wed Apr 4 22:43:20 EDT 2018


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


More information about the krbdev mailing list