#38 cross compile rvm for ppc, using qemu and guestfs

open
nobody
None
5
2012-09-21
2012-04-06
Da Feng
No

A document, a patch and some scripts to build rvm for ppc32. The patch is only intended as reference of modification, as rvm has not considered configuration of cross compiler, and the patch will break native builds. So to support native compile and cross compile together, rvm build scripts need redesign.

The general principal is to use --with-sysroot and --sysroot options to point to mounted qcow2 image. Environment variables effecting pkg-config and configure is also changed. Since rvm bootImage builds doesn't use these autotool, it's necessary to create symbol links in cross tool directory for target system internal links. Without manually made links, target link will point to host root, and some times can't find gcc-x.x.x directories.

Discussion

  • Da Feng

    Da Feng - 2012-04-06

    document

     
  • Da Feng

    Da Feng - 2012-04-06

    CLA is inside doc directory

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks