Changes between Version 1 and Version 2 of Commentary/PlatformNaming


Ignore:
Timestamp:
Apr 24, 2011 9:58:40 PM (3 years ago)
Author:
megacz
Comment:

formatting fixes

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/PlatformNaming

    v1 v2  
    11 = Platforms = 
    22 
    3   There are three platforms of interest to GHC:  
     3There are three platforms of interest to GHC:  
    44  * '''The Build platform''': This is the platform on which we are building GHC.  
    55  * '''The Host platform''': This is the platform on which we are going to run this GHC binary, and associated tools.  
     
    1212At the moment, there is very limited support for having different values for build, host, and target. In particular: 
    1313 
    14   The build platform is currently always the same as the host platform. The build process needs to use some of the tools in the source tree, for example ghc-pkg and hsc2hs.  
     14The build platform is currently always the same as the host platform. The build process needs to use some of the tools in the source tree, for example ghc-pkg and hsc2hs.  
    1515 
    16   If the target platform differs from the host platform, then this is generally for the purpose of building .hc files from Haskell source for porting GHC to the target platform. Full cross-compilation isn't supported (yet).  
     16If the target platform differs from the host platform, then this is generally for the purpose of building .hc files from Haskell source for porting GHC to the target platform. Full cross-compilation isn't supported (yet).  
    1717 
    1818== Macros == 
    1919 
    20   In the compiler's source code, you may make use of the following CPP symbols: 
     20In the compiler's source code, you may make use of the following CPP symbols: 
    2121 
    2222{{{ 
     
    2828xxx_HOST_OS  
    2929}}} 
    30   where xxx is the appropriate value: eg. i386_TARGET_ARCH.  
     30 
     31where xxx is the appropriate value: eg. i386_TARGET_ARCH.