Changes

160 bytes removed ,  09:16, 25 March 2015
Line 112: Line 112:     
=== Native Compilation ===
 
=== Native Compilation ===
With the CRIU source obtained in the first step and dependencies satisfied in the second step, we are now compile CRIU. For native compilation with the dependencies met using distribution packages, simply run <code>make</code> in the CRIU source directory.
+
Simply run <code>make</code> in the CRIU source directory.
 +
 
 +
=== Compilation in Docker container ===
 +
 
 +
There's a <code>docker-build</code> target in Makefile which builds CRIU in Ubuntu Docker container. Just run
 +
 
 +
make docker-build
 +
 
 +
and that's it.
 +
 
 +
=== Compilation with non-standard paths to dependencies ===
    
Here is an example of building natively specifying manually built dependencies.
 
Here is an example of building natively specifying manually built dependencies.
Line 125: Line 135:  
  cd ../..
 
  cd ../..
   −
=== Compilation in Docker container ===
+
=== Cross Compilation for ARM ===
 
  −
There's a <code>docker-build</code> target in Makefile which builds CRIU in Ubuntu Docker container. Just run
  −
 
  −
make docker-build
  −
 
  −
and that's it.
     −
=== Cross Compilation for ARMv7 ===
+
;ARMv7
    
  cd deps
 
  cd deps
Line 145: Line 149:  
  cd ../..
 
  cd ../..
   −
=== Cross Compilation for ARMv8 ===
+
;ARMv8
    
   cd deps
 
   cd deps