Changes between Version 16 and Version 17 of ArmLinuxGhc


Ignore:
Timestamp:
Jul 4, 2008 12:15:32 AM (6 years ago)
Author:
shepheb
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ArmLinuxGhc

    v16 v17  
    8181==== Changing build.mk ==== 
    8282 
    83 As the porting guide says, I had to change the TARGETPLATFORM to arm-unknown-linux. The LeadingUnderscore setting can be left at NO, which is the target-side setting. 
    84  
    85  
     83As the porting guide says, I had to change the TARGETPLATFORM to arm-unknown-linux. The !LeadingUnderscore setting can be left at NO, which is the target-side setting. 
     84 
     85 
     86==== Need libffi ==== 
     87 
     88GHC 6.9 now uses libffi,  and so I needed to install it too. I Googled libffi, installed the newest version (it was released in April 2008 so I assume it's old enough to be the one used in 6.9), built and installed it on the host machine. 
     89 
     90Its header files are not installed into a system-wide include directory, so I symlinked them into /usr/include. Then the cd compiler && make boot && make step ran fine (though it took long enough running natively on my Core 2 Duo 2.8 GHz that I fear how long the emulated stage 2 will take). 
     91 
     92==== make in /rts ==== 
     93 
     94This fails saying  
     95 
     96{{{ 
     97ghc-6.9.20080614: could not execute: /home/braden/src/ghc-6.9.20080614/driver/mangler/ghc-asm 
     98}}} 
     99 
     100There is no such file, though there is the script driver/mangler/ghc-asm.lprl. I tried making it executable with no results, but I'm not really sure what to do next. Any pointers are greatly appreciated! 
     101 
     102Of possible note is that I re-ran ./configure a while back while trying to get /compiler to make boot && make in an effort to make it find libffi. I doubt that would matter, but I'll record it anyway. 
    86103 
    87104= Original Page =