mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 08:43:40 -07:00
Mainline changes to make a standard nt build environment based on nt6.1
(Windows7) and its SDK. The w3i3m9 pseudo platform has been removed and w3i3mv adjusted for this framework. Copied from Perforce Change: 175966 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
b153ddbb83
commit
36dd1ada0f
5 changed files with 188 additions and 153 deletions
|
|
@ -26,27 +26,27 @@
|
|||
*
|
||||
* Sometimes the platform is *already* known by the buildsystem:
|
||||
* - the Global Graphics buildsystem always sets CONFIG_PF_*.
|
||||
* - the Ravenbrook buildsystem knows the platform and may (but
|
||||
* - the Ravenbrook buildsystem knows the platform and may (but
|
||||
* typically does not) set CONFIG_PF_*.
|
||||
*
|
||||
* Regardless of this, mpstd.h still attempts to detect the platform.
|
||||
* (This is intentional). However if both CONFIG_PF_* and
|
||||
* (This is intentional). However if both CONFIG_PF_* and
|
||||
* CONFIG_PF_STRING are set, then mpstd.h performs a third function:
|
||||
* 3. checking that the detected platform corresponds to that
|
||||
* 3. checking that the detected platform corresponds to that
|
||||
* specified by CONFIG_PF_*.
|
||||
*
|
||||
* Sometimes no MPS buildsystem is in use, so the platform *must*
|
||||
* be detected. For example, when client software #includes mps.h,
|
||||
* we want it to just work out of the box with whatever compiler is
|
||||
* being used. In other words we do not require the client to define
|
||||
* Sometimes no MPS buildsystem is in use, so the platform *must*
|
||||
* be detected. For example, when client software #includes mps.h,
|
||||
* we want it to just work out of the box with whatever compiler is
|
||||
* being used. In other words we do not require the client to define
|
||||
* CONFIG_PF_*.
|
||||
* (This is the case that justifes mpstd.h doing platform detection
|
||||
* by looking at preprocessor symbols; otherwise we'd simply use
|
||||
* (This is the case that justifes mpstd.h doing platform detection
|
||||
* by looking at preprocessor symbols; otherwise we'd simply use
|
||||
* CONFIG_PF_*).
|
||||
*
|
||||
* mpstd.h fails if it cannot detect the platform (even if CONFIG_PF_*
|
||||
* is specified). This is intentional. mpstd.h does *not* allow
|
||||
* CONFIG_PF_* to override the platform as detected from preprocessor
|
||||
* is specified). This is intentional. mpstd.h does *not* allow
|
||||
* CONFIG_PF_* to override the platform as detected from preprocessor
|
||||
* symbols. This is intentional.
|
||||
*
|
||||
* References:
|
||||
|
|
@ -127,23 +127,6 @@
|
|||
#define MPS_WORD_SHIFT 5
|
||||
#define MPS_PF_ALIGN 4
|
||||
|
||||
/* w3i3m9 clone-platform, differs from w3i3mv only in MPS_PF_STRING
|
||||
* and compiler options.
|
||||
*/
|
||||
|
||||
#elif defined(_MSC_VER) && (_MSC_VER >= 1500) && defined(_WIN32) && defined(_M_IX86)
|
||||
#if defined(CONFIG_PF_STRING) && ! defined(CONFIG_PF_W3I3M9)
|
||||
#error "specified CONFIG_PF_... inconsistent with detected w3i3m9"
|
||||
#endif
|
||||
#define MPS_PF_W3I3MV
|
||||
#define MPS_PF_STRING "w3i3m9"
|
||||
#define MPS_OS_W3
|
||||
#define MPS_ARCH_I3
|
||||
#define MPS_BUILD_MV
|
||||
#define MPS_T_WORD unsigned long
|
||||
#define MPS_WORD_WIDTH 32
|
||||
#define MPS_WORD_SHIFT 5
|
||||
#define MPS_PF_ALIGN 8
|
||||
|
||||
/* Visual C++ 2.0, Books Online, C/C++ Book, Preprocessor Reference,
|
||||
* Chapter 1: The Preprocessor, Macros, Predefined Macros.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue