前几天由于项目需要,要在Windows上编译kerberos库,在blog上把步骤写下来;
前提需要一个porting到windows上的linux实用程序库,需要的是: sed, gawk, cat, cp。
首先需要按照下面的步骤设置编译环境:
然后按照kerberos的说明编译就行了:
1) cd xxx/src # Go to where the source lives
2) nmake -f Makefile.in prep-windows # Create Makefile for Windows
3) nmake [NODEBUG=1] [DNS-options] # Build the sources
4) nmake install [NODEBUG=1] [options] # Copy headers, libs, executables

本文介绍如何在Windows环境下编译Kerberos库,包括所需依赖工具及具体步骤。首先需准备sed、gawk等工具,接着按指定顺序执行nmake命令完成编译。
222

被折叠的 条评论
为什么被折叠?



