Saturday, May 5, 2012

Компиляция strace под mips

  1. tar -xvf ../cross-compiler-mips.tar.bz2
  2. tar -xvf ../strace-4.7.tar.xz
  3. cd strace-4.7/
  4. export PATH=$PATH:../cross-compiler-mips/bin/
  5. CFLAGS=-I../cross-compiler-mips/include/ CC=mips-gcc LDFLAGS=-static ./configure --host=mips-linux && make LDFLAGS=-static
  6. mips-strip -v --strip-unneeded strace -o strace-stripped ; ls -l strace-stripped; file strace-stripped

No comments: