diff options
| author | Danilo Almeida <dalmeida@mit.edu> | 2000-02-07 03:16:55 +0000 |
|---|---|---|
| committer | Danilo Almeida <dalmeida@mit.edu> | 2000-02-07 03:16:55 +0000 |
| commit | 356a4b0ff46e03b30ff6c880443934572a54202d (patch) | |
| tree | cae220eb4ce91172eea2e5d4b5e12b55ea52f17d /src | |
| parent | 808a0396b89c484fe229462e0447945d3c07939f (diff) | |
| download | krb5-356a4b0ff46e03b30ff6c880443934572a54202d.tar.gz krb5-356a4b0ff46e03b30ff6c880443934572a54202d.tar.xz krb5-356a4b0ff46e03b30ff6c880443934572a54202d.zip | |
Add documentation about debug vs. release builds
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12007 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
| -rw-r--r-- | src/windows/ChangeLog | 4 | ||||
| -rw-r--r-- | src/windows/README | 16 |
2 files changed, 15 insertions, 5 deletions
diff --git a/src/windows/ChangeLog b/src/windows/ChangeLog index e4051e389..ce20631b5 100644 --- a/src/windows/ChangeLog +++ b/src/windows/ChangeLog @@ -1,3 +1,7 @@ +2000-02-06 Danilo Almeida <dalmeida@mit.edu> + + * README: Add documentation about debug vs. release builds. + 1999-12-03 Danilo Almeida <dalmeida@mit.edu> * version.rc: Bump version up to 1.1.1. diff --git a/src/windows/README b/src/windows/README index c4c2f7578..f30d02992 100644 --- a/src/windows/README +++ b/src/windows/README @@ -18,6 +18,12 @@ creating a distribution that can be built on Windows. The second method works from the sources that come from the Unix distribution if you have certain Unix-type utilities. +IMPORTANT NOTE: By default, the sources are build with debug +information and linked against the debug version of the Microsoft C +Runtime library, which is not found on most Win32 systems unless they +have development tools. To build a release version, you need to +define NODEBUG either in the environment or the nmake command-line. + Traditional Build Method: ------------------------ @@ -35,8 +41,8 @@ On the PC side 3) unzip kerbsrc.zip - or - pkunzip -d kerbsrc.zip -4) nmake -nologo # Build the sources -5) nmake install # Copy headers, libs, executables +4) nmake [NODEBUG=1] # Build the sources +5) nmake install [NODEBUG=1] # Copy headers, libs, executables All-Windows Build Method: @@ -46,8 +52,8 @@ First, make sure you have sed, gawk, cat, and cp. 1) cd xxx/src # Go to where the source lives 2) nmake -f Makefile.in prep-windows # Create Makefile for Windows -3) nmake -nologo # Build the sources -4) nmake install # Copy headers, libs, executables +3) nmake [NODEBUG=1] # Build the sources +4) nmake install [NODEBUG=1] # Copy headers, libs, executables Notes on the install Target: @@ -58,7 +64,7 @@ point to the directory where the header, library, and executable files will be installed. You can either define this in the environment or at the nmake command-line. For example: -nmake install KRB_INSTALL_DIR=c:\sdk\krb5 +nmake install [NODEBUG=1] KRB_INSTALL_DIR=c:\sdk\krb5 Make sure you create the directory first. Otherwise, nmake will complain. The files will get installed into include, lib, and bin |
