|
|
1.1 root 1: =======================================================================
2: MICROSOFT (R) FOUNDATION CLASSES
3: Version 2.1
4: =======================================================================
5:
6: DEC Alpha AXP Platform Support
7:
8:
9: The Microsoft Foundation Classes for Windows NT (MFC 2.1) provide
10: limited support for Windows NT running on the Alpha AXP platform.
11: This support is provided as-is for customers who want to compile
12: their applications on AXP machines.
13:
14:
15: Tools
16: -----
17: Microsoft Visual C++ for Windows NT does not include tools for
18: the Alpha platform. In order to compile for Alpha AXP, the Windows
19: NT SDK is required.
20:
21:
22: Building the Libraries
23: ----------------------
24: Alpha AXP versions of the libraries are provided. To re-build them
25: from source, follow the directions in MFC\SRC\README.TXT and add
26: 'PLATFORM=ALPHA' to the command line. For example, to build the
27: Windows, debug variant for Alpha AXP:
28:
29: nmake TARGET=w DEBUG=1 PLATFORM=ALPHA
30:
31: Note: when using nmake from the Windows NT SDK, the target must be
32: specified in lower case (e.g., TARGET=w).
33:
34:
35: Building the Samples
36: --------------------
37: Each sample includes a MAKEFILE for building with the command line
38: tools. These files support the Alpha AXP platform by specifying
39: 'PLATFORM=ALPHA' on the command line. For example, to build a release
40: variant for Alpha AXP:
41:
42: nmake DEBUG=0 PLATFORM=ALPHA
43:
44: The .MAK files in the MFC sample directories are project files for
45: the Microsoft Visual C++ development system. These files are for
46: the Intel platform only; they will not compile on the Alpha AXP
47: platform (with the exception of the scribble sample, see below).
48:
49:
50: Makefile Changes
51: ----------------
52: Due to differences in the tools of the Windows NT SDK and Microsoft
53: Visual C++, some changes to the application's makefile are required.
54: For examples, please look for "ALPHA" in the MFC\SAMPLES\SAMPLE_.MAK
55: file.
56:
57: INTEL ALPHA
58: --------------- ---------------------
59: Compiler name CL CLAXP
60: Optimization flags /O1 /Ox /Gs
61: Compiler defines /D_X86_ /D_ALPHA_
62: Linker name LINK LINK32
63: Linker switches remove -NOLOGO
64: Libraries (1) kernel32.lib libc.lib
65: Resources (2) use CVTRES after RC
66:
67: (1) VC++ links kernel32.lib and libc.lib by default.
68: (2) VC++ automatically converts the resource files when linking.
69:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.