Manual build deps

From CRIU
Revision as of 13:19, 12 July 2017 by Xemul (talk | contribs) (Created page with "Building natively, but specifying built dependencies manually <pre> cd deps rsync -a --exclude=.git --exclude=deps .. criu-`uname -m` cd criu-`uname -m` make \ USERCFL...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Building natively, but specifying built dependencies manually

 cd deps
 rsync -a --exclude=.git --exclude=deps .. criu-`uname -m`
 cd criu-`uname -m`
 make \
   USERCFLAGS="-I`pwd`/../`uname -m`-linux-gnu/include -L`pwd`/../`uname -m`-linux-gnu/lib" \
   PATH="`pwd`/../`uname -m`-linux-gnu/bin:$PATH"
 sudo LD_LIBRARY_PATH=`pwd`/../`uname -m`-linux-gnu/lib ./criu check
 cd ../..