Changes between Version 37 and Version 38 of Building/Porting


Ignore:
Timestamp:
Jun 25, 2009 6:38:55 PM (6 years ago)
Author:
igloo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/Porting

    v37 v38  
    4949already has a working GHC (we'll call this the ''host'' machine), in 
    5050order to cross-compile the intermediate C files that we will use to 
    51 bootstrap the compiler on the ''target'' machine. 
     51bootstrap the compiler on the ''target'' machine. We'll assume that you 
     52are porting to platform ''plat'', e.g. ''plat'' may be 
     53`x86_64-unknown-linux`. 
    5254 
    5355'''On the target machine''' 
     
    7072<T>$ cp /bin/pwd utils/ghc-pwd/ghc-pwd 
    7173<T>$ sh boot 
    72 <T>$ ./configure --enable-hc-boot 
     74<T>$ ./configure --enable-hc-boot --build=plat --host=plat --target=plat 
    7375}}} 
    7476 
     
    179181{{{ 
    180182<T>$ sh boot 
    181 <T>$ ./configure --enable-hc-boot 
     183<T>$ ./configure --enable-hc-boot --build=plat --host=plat --target=plat 
    182184}}} 
    183185