Changes between Version 6 and Version 7 of Porting Macros plan


Ignore:
Timestamp:
Jan 4, 2010 3:59:12 AM (14 years ago)
Author:
mjs@apple.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Porting Macros plan

    v6 v7  
    1414Platform adaptation macros would be:
    1515
     16 * COMPILER() - the compiler being used to build the project
     17 * CPU() - the target CPU architecture
     18
    1619 * OS() - underlying operating system; only to be used for mandated low-level services like virtual memory, not to choose a GUI toolkit
    1720    * OS(UNIX) - Any Unix-like OS
     
    2023    * OS(WIN) - Any version of Windows
    2124    * OS(WINCE) - The embedded version of Windows
    22 
    23  * COMPILER() - the compiler being used to build the project
    24     * COMPILER(GCC) - GNU Compiler Collection
    25     * COMPILER(MSVC) - Microsoft Visual C++
    26     * COMPILER(RVCT) - ARM compiler
    27 
    28  * CPU() - the target CPU architecture
    29      * CPU(X86)
    30      * CPU(X86_64)
    31      * CPU(ARM)
    32      * CPU(BIG_ENDIAN)
    33      * CPU(MIDDLE_ENDIAN)
    3425
    3526 * HAVE() - specific system features (headers, functions or similar) that are present or not