building with Visual C++ .NET

Frank Balluffi frank.balluffi at db.com
Fri Dec 13 16:20:34 EST 2002


In order to build kfw-2.1.2\athena\auth\krb5\src with Visual C++ .NET (on Windows XP) as per the instructions in kfw-2.1.2\athena\auth\krb5\src\windows\Readme , I needed to change two #include directives:

C:\external\kfw-2.1.2\athena\auth\krb5\src\windows>diff version.rc.1 
version.rc
2c2
< #include <ver.h>
---
> #include <winver.h>

and

C:\external\kfw-2.1.2\athena\auth\krb5\src\windows\gss>diff gss.rc.1 
gss.rc
10c10
< #include <ver.h>
---
> #include <winver.h>

Microsoft deprecated ver.h.

I also eliminated numerous double backslashes in Makefiles by changing kfw-2.1.2\athena\auth\krb5\src\config\win-pre.in:

C:\external\kfw-2.1.2\athena\auth\krb5\src\config>diff win-pre.in.1 
win-pre.in
119c119
< PDB_OPTS=-Fd$(OUTPRE)\ -FD
---
> PDB_OPTS=-Fd$(OUTPRE) -FD
188c188
<       $(CC) $(ALL_CFLAGS) -Fo$(OUTPRE)\ -c $<
---
>       $(CC) $(ALL_CFLAGS) -Fo$(OUTPRE) -c $<
191c191
<       $(CC) $(ALL_CFLAGS) -Fo$(OUTPRE)\ -c $<
---
>       $(CC) $(ALL_CFLAGS) -Fo$(OUTPRE) -c $<
194c194
<       $(CC) $(ALL_CFLAGS) -Fo$(OUTPRE)\ -c $<
---
>       $(CC) $(ALL_CFLAGS) -Fo$(OUTPRE) -c $<

I still see numerous double backslashes at the beginning of nmake's 
output:

Output will go to obj\i386\rel.
        cl -Fe.\\obj\i386\rel\wconfig.exe -Fo.\\obj\i386\rel\wconfig.obj 
wconfig.c
wconfig.c
Microsoft (R) Incremental Linker Version 7.00.9466
Copyright (C) Microsoft Corporation.  All rights reserved.

/out:.\\obj\i386\rel\wconfig.exe 
.\\obj\i386\rel\wconfig.obj 
        .\\obj\i386\rel\wconfig  config < Makefile.in > Makefile
        .\\obj\i386\rel\wconfig  config < appl\gss-sample\Makefile.in > 
appl\gss-sample\Makefile
        ...

that I suspect are related to $(BUILDTOP). Does anyone know how to fix these double backslashes?

Please note that the double backslashes seem to be benign. Thanks.

Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/kerberos/attachments/20021213/56eb4d5e/attachment.htm


More information about the Kerberos mailing list