|
|
1.1 root 1: =======================================================================
2: MICROSOFT (R) FOUNDATION CLASSES
3: Version 2.1
4: =======================================================================
5:
6: MIPS 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 MIPS platform. This
11: support is provided as-is for customers who want to compile their
12: applications on MIPS machines.
13:
14:
15: Tools
16: -----
17: Microsoft Visual C++ for Windows NT does not include tools or
18: support for the MIPS platform. In order to compile for MIPS, the
19: Windows NT SDK is required.
20:
21:
22: Building the Libraries
23: ----------------------
24: MIPS versions of the libraries are not provided. To build them,
25: follow the directions in MFC\SRC\README.TXT and add 'PLATFORM=MIPS'
26: to the command line. For example, to build the Windows, debug
27: variant for MIPS:
28:
29: nmake TARGET=w DEBUG=1 PLATFORM=MIPS
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 MIPS platform by specifying
39: 'PLATFORM=MIPS' on the command line. For example, to build a release
40: variant for MIPS:
41:
42: nmake DEBUG=0 PLATFORM=MIPS
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 MIPS platform.
47:
48:
49: Makefile Changes
50: ----------------
51: Due to differences in the tools of the Windows NT SDK and Microsoft
52: Visual C++, some changes to the application's makefile are required.
53: For examples, please look for "MIPS" in the MFC\SAMPLES\SAMPLE_.MAK
54: file.
55:
56: INTEL MIPS
57: --------------- ---------------------
58: Compiler name CL MCL
59: Optimization flags /O1 /Osg /Gs
60: Compiler defines /D_X86_ /D_MIPS_
61: Linker name LINK LINK32
62: Linker switches remove -NOLOGO
63: Libraries (1) kernel32.lib libc.lib
64: Resources (2) use CVTRES after RC
65:
66: (1) VC++ links kernel32.lib and libc.lib by default.
67: (2) VC++ automatically converts the resource files when linking.
68:
69:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.