Changes between Version 2 and Version 3 of DebWrtDevQemu


Ignore:
Timestamp:
Aug 17, 2011, 12:51:03 AM (8 years ago)
Author:
amain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DebWrtDevQemu

    v2 v3  
    33== Introduction ==
    44
    5 Since qemu finally works form mips and mipsel, it is possible to do all your 'native-emulated' compiling on you host machine. Using qemu in user mode, not in system mode. This may be the quickest and easiest way to compile for a different architecture. Of course qemu emulation is used, so it won't be as fast as cross compiling. But using the 'native-emulated' method you don't need to take anything into account you normally would have to do for cross compiling.
     5Since qemu finally works form mips and mipsel, it is possible to do all your 'native-emulated' compiling on you host machine. Using qemu in user mode, not in system mode. This may be the easiest way ( and quicker then native compiling on a embedded device ) to compile for a different architecture. Of course qemu emulation is used, so it won't be as fast as cross compiling. But using the 'native-emulated' method you don't need to take anything into account you normally would have to do for cross compiling.
    66
    77== Instructions ==
     
    1515  * apt-get update
    1616  * apt-get install build-essential
     17  * add deb-src line to /etc/apt/sources.list
    1718  * make, gcc, dpkg-buildpackage, etc all will be available!
     19
     20=== Example: build the tool 'sl' ===
     21
     22  * make chr
     23  * apt-get source sl
     24  * apt-get build-dep sl
     25  * cd sl-<version>
     26  * dpkg-buildpackage
     27  * cd ..
     28  * dpkg -i sl
    1829
    1930== Scratch-box 2 ==