Static compile on windows

Wachdorf, Daniel R drwachd at
Fri Nov 5 15:47:17 EST 2004

What if I do want it statically compiled. 
Specifically, I have a program that interacts with the windows
credential cache and also need some of the other libs from krb5_32 and
gssapi32 exported, so I had to do a custom build.  In order for my
program to work, now I need to redistribute the kerberos DLLs.  I would
much rather compile it statically and worry about you "replacing the
credential cache" at a different time.


-----Original Message-----
From: Jeffrey Altman [mailto:jaltman at] 
Sent: Friday, November 05, 2004 1:22 PM
To: Wachdorf, Daniel R
Cc: krbdev at
Subject: Re: Static compile on windows

The build system does not produce static libraries.
It is important that static libraries are not used so that we can
replace the internal workings of interactions with the credential caches
as needed.

If you build statically, then when we replace the credential cache your
application will stop working.

Jeffrey Altman

Wachdorf, Daniel R wrote:

> Is there a way to compile kfw-2.6.5 statically?  
> My end goal is to compile a program using the libraries from that 
> build in a statically linked executable, is that possible with the 
> DLLs it builds?
> Thanks.
> --------------------------------------
> Daniel Wachdorf
> drwachd at
> Sandia National Laboratories
> System Security Research and Integration 505-284-8060
> _______________________________________________
> krbdev mailing list             krbdev at

More information about the krbdev mailing list