- tar -xvf ../cross-compiler-mips.tar.bz2
- tar -xvf ../strace-4.7.tar.xz
- cd strace-4.7/
- export PATH=$PATH:../cross-compiler-mips/bin/
- CFLAGS=-I../cross-compiler-mips/include/ CC=mips-gcc LDFLAGS=-static ./configure --host=mips-linux && make LDFLAGS=-static
- mips-strip -v --strip-unneeded strace -o strace-stripped ; ls -l strace-stripped; file strace-stripped
P.S.: Based on building-the-strace-utility-for-mips-uclibc
No comments:
Post a Comment