Changes between Version 13 and Version 14 of ArmLinuxGhc


Ignore:
Timestamp:
Jul 3, 2008 11:09:00 PM (6 years ago)
Author:
shepheb
Comment:

Adding notes about the changes I needed to build 6.9.20080614 for Maemo 4

Legend:

Unmodified
Added
Removed
Modified
  • ArmLinuxGhc

    v13 v14  
    1717 * shepheb has a Nokia N810. 
    1818 
     19 
     20== First Unregisterised Hack Notes == 
     21 
     22This documents shepheb's first attempt at a crude, unregisterised build for the Nokia N810 using Maemo 4 Diablo and the Maemo SDK (scratchbox-based) 
     23 
     24I'm following the Building/Porting guide's section on porting to a new platform. 
     25 
     26=== Target-side Changes === 
     27 
     28==== utils/pwd/pwd is an x86 binary, and there's no GHC to recompile it ==== 
     29 
     30The guide's suggestion to run 
     31 
     32{{{ 
     33./configure --enable-hc-boot --enable-hc-boot-unregisterised 
     34}}} 
     35 
     36fails because utils/pwd/pwd is a Haskell binary that I can't run, since this is the ARM-based emulated target system and not the x86 it was compiled for. I can't reach the host's GHC to recompile it, so I just replaced it with the hacky 
     37 
     38{{{ 
     39#!/bin/sh 
     40echo /home/braden/ghc/ghc-6.9.20080614 
     41}}} 
     42 
     43and the above ./configure worked fine. 
    1944 
    2045